Esempio n. 1
0
        public ActionResult RemoveShelter([FromQuery] int shelterId)
        {
            var result = _shelterRepository.RemoveShelter(shelterId);

            if (result.IsError)
            {
                return(BadRequest(result.Message));
            }

            return(Ok());
        }