示例#1
0
        public IActionResult RemoveHorse(int horseId)
        {
            string actionBy = User.Identity.Name;

            _mainResponse = _horseService.RemoveHorse(horseId, actionBy);
            _jsonString   = Mapper.Convert <BaseResponse>(_mainResponse);
            return(new OkObjectResult(_jsonString));
        }