private async Task <long> SaveStationAccount(SafeDTO entity) { StationAccountDTO stationAccount = new StationAccountDTO() { SafeId = entity.Id, PaidDate = entity.Date, PaidUp = entity.Incoming, RecieptNumber = entity.RecieptNumber, StationId = entity.AccountId }; return(await _stationAccountDSL.Save(stationAccount)); }
public async Task <IActionResult> Save(StationAccountDTO model) => Ok(await _stationAccountDSL.Save(model));