private async Task <long> SaveSelectorAccount(SafeDTO entity) { SelectorAccountDTO selectorAccount = new SelectorAccountDTO() { SafeId = entity.Id, PaidDate = entity.Date, PaidUp = entity.Outcoming, RecieptNumber = entity.RecieptNumber, SelectorId = entity.AccountId }; return(await _selectorAccountDSL.Save(selectorAccount)); }
public async Task <long> Save(SelectorAccountDTO entity) { return(await _selectorAccountDAL.Save(_mapper.Map <SelectorAccount>(entity))); }
public async Task <IActionResult> Save(SelectorAccountDTO model) => Ok(await _selectorAccountDSL.Save(model));