Added the workcategory in WorkItem
This commit is contained in:
parent
ff722503d5
commit
3c8a044d66
@ -894,7 +894,7 @@ namespace MarcoBMS.Services.Controllers
|
|||||||
},
|
},
|
||||||
WorkCategoryMaster = new WorkCategoryMasterMongoDB
|
WorkCategoryMaster = new WorkCategoryMasterMongoDB
|
||||||
{
|
{
|
||||||
Id = wi.ActivityId.ToString(),
|
Id = wi.WorkCategoryId.ToString() ?? "",
|
||||||
Name = wi.WorkCategoryMaster != null ? wi.WorkCategoryMaster.Name : "",
|
Name = wi.WorkCategoryMaster != null ? wi.WorkCategoryMaster.Name : "",
|
||||||
Description = wi.WorkCategoryMaster != null ? wi.WorkCategoryMaster.Description : ""
|
Description = wi.WorkCategoryMaster != null ? wi.WorkCategoryMaster.Description : ""
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user