public async Task UpTaskItem(WorkingTaskItems taskItems) { if (await _taskManageContext.CustomExist <WorkingTaskItems>(t => t.Id == taskItems.Id)) { await _taskManageContext.CustomUp <WorkingTaskItems>(taskItems); } }
public async Task UpTaskGroup(TaskGroup taskGroup) { var upEntity = await _taskManageContext.CustomExist <Data.Models.TaskGroup>(t => t.Id == taskGroup.Id); if (upEntity) { await _taskManageContext.CustomUp(taskGroup); } }
public async Task UpWrokTask(Data.Models.WorkingTask workingTask) { var upEntity = await _taskManageContext.CustomExist <Data.Models.WorkingTask>(t => t.Id == workingTask.Id); if (upEntity) { await _taskManageContext.CustomUp(workingTask); } }
public async Task UpDocument(DocumentInfo documentInfo) { await _taskManageContext.CustomUp <DocumentInfo>(documentInfo); }