Save AddOrEdit Jobs to group

This commit is contained in:
SamSys
2026-01-06 15:28:12 +03:30
parent e4c41bb704
commit ceb328cfa7
5 changed files with 106 additions and 4 deletions

View File

@@ -633,4 +633,14 @@ public class ClassificationSchemeApplication : IClassificationSchemeApplication
return op.Succcedded(-1, "حذف با موفقیت انجام شد");
}
public async Task<OperationResult> SaveJobsToGroup(AddOrEditJobInGroupDto command)
{
var op = new OperationResult();
var res= await _classificationGroupRepository.SaveJobsToGroup(command);
if (!res)
return op.Failed("خطا در انجام عملیات");
return op.Succcedded();
}
}