Example #1
0
        private void DeleteStationAccount(SafeDTO entity)
        {
            var stationAccount = GetStationAccountBySafeId(entity.Id);

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