Esempio n. 1
0
        private void DeleteDriverAccount(SafeDTO entity)
        {
            var driverAccount = GetDriverAccountBySafeId(entity.Id);

            if (driverAccount != null)
            {
                _driverAccountDSL.Delete(driverAccount.Id);
            }
        }
 public async Task <IActionResult> Delete(int id) => Ok(await _driverAccountDSL.Delete(id));