public async Task <WFTask> Add(WFTask wFTasks) { _wFContext.WFTasks.Add(wFTasks); await _wFContext.SaveChangesAsync(); return(wFTasks); }
public async Task <WFStep> Add(WFStep wFStep) { _wFContext.WFSteps.Add(wFStep); await _wFContext.SaveChangesAsync(); return(wFStep); }
public async Task <WF> Add(WF workFlow) { /// check next line _wFContext.WorkFlows.Add(workFlow); await _wFContext.SaveChangesAsync(); return(workFlow); }