From 40ce4ced42bc67a7e79829077bbb31449f10937f Mon Sep 17 00:00:00 2001 From: "ashutosh.nehete" Date: Thu, 10 Jul 2025 14:59:28 +0530 Subject: [PATCH] Added the workcategory in WorkItem --- Marco.Pms.Services/Controllers/ProjectController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marco.Pms.Services/Controllers/ProjectController.cs b/Marco.Pms.Services/Controllers/ProjectController.cs index fde715f..09858d5 100644 --- a/Marco.Pms.Services/Controllers/ProjectController.cs +++ b/Marco.Pms.Services/Controllers/ProjectController.cs @@ -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 : "" },