Exemple #1
0
        public async Task <WFTask> Add(WFTask wFTasks)
        {
            _wFContext.WFTasks.Add(wFTasks);
            await _wFContext.SaveChangesAsync();

            return(wFTasks);
        }
Exemple #2
0
        public async Task <WFStep> Add(WFStep wFStep)
        {
            _wFContext.WFSteps.Add(wFStep);
            await _wFContext.SaveChangesAsync();

            return(wFStep);
        }
Exemple #3
0
        public async Task <WF> Add(WF workFlow)
        {
            /// check next line
            _wFContext.WorkFlows.Add(workFlow);
            await _wFContext.SaveChangesAsync();

            return(workFlow);
        }