Example #1
0
        public async Task <IActionResult> DeleteFloor(DeleteFloorDTO input)
        {
            try
            {
                await _floorService.DeleteFloor(input);

                return(Ok());
            }
            catch (Exception)
            {
                throw;
            }
        }
Example #2
0
 public async Task DeleteFloor(DeleteFloorDTO input)
 {
     await _repository.Delete(input.Id);
 }