Save AddOrEdit Jobs to group
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user