public async Task <IActionResult> DeleteFloor(DeleteFloorDTO input) { try { await _floorService.DeleteFloor(input); return(Ok()); } catch (Exception) { throw; } }
public async Task DeleteFloor(DeleteFloorDTO input) { await _repository.Delete(input.Id); }