public async Task <IActionResult> CreateApartment([FromForm] ApartmentInsertDTO apartment)
        {
            try
            {
                await _apartmentService.InsertApartmentAsync(apartment);

                return(Ok());
            }
            catch (DbUpdateConcurrencyException e)
            {
                return(BadRequest(e.Message));
            }
            catch (Exception e)
            {
                return(BadRequest(e));
            }
        }