ProjectService
Constructor Summary
Public Constructor | ||
public |
constructor(context: PVBidContext) Creates an instance of ProjectService. |
Member Summary
Public Members | ||
public |
context: * |
|
public |
repositories: * |
Method Summary
Public Methods | ||
public |
Creates bid and attaches to project. |
|
public |
Saves project and underlying bids. |
|
public |
async saveChangeLog(project: *, entityChangeData: *): * |
Public Constructors
public constructor(context: PVBidContext) source
Creates an instance of ProjectService.
Params:
Name | Type | Attribute | Description |
context | PVBidContext |
Public Methods
public async createBid(project: Project, title: string): Promise<Bid> source
Creates bid and attaches to project.
public async save(project: Project, options: object): Promise<null> source
Saves project and underlying bids.
public async saveChangeLog(project: *, entityChangeData: *): * source
Params:
Name | Type | Attribute | Description |
project | * | ||
entityChangeData | * |
Return:
* |