Пример #1
0
 public async Task <IncomeDevide> DeleteIncomeDevide(IncomeDevide IncomeDevide)
 {
     return(await _repository.UpdateAsync(IncomeDevide));
 }
Пример #2
0
        public async Task <IncomeDevide> CreateIncomeDevide(IncomeDevide IncomeDevide)
        {
            IncomeDevide.Id = await _repository.InsertAndGetIdAsync(IncomeDevide);

            return(IncomeDevide);
        }