Added the workcategory in WorkItem

This commit is contained in:
ashutosh.nehete 2025-07-10 14:59:28 +05:30
parent ff722503d5
commit 3c8a044d66

View File

@ -894,7 +894,7 @@ namespace MarcoBMS.Services.Controllers
},
WorkCategoryMaster = new WorkCategoryMasterMongoDB
{
Id = wi.ActivityId.ToString(),
Id = wi.WorkCategoryId.ToString() ?? "",
Name = wi.WorkCategoryMaster != null ? wi.WorkCategoryMaster.Name : "",
Description = wi.WorkCategoryMaster != null ? wi.WorkCategoryMaster.Description : ""
},