Exemple #1
0
        public async Task <IActionResult> PutStatuses(int id, Statuses statuses)
        {
            if (id != statuses.StatusId)
            {
                return(BadRequest());
            }

            var response = await _db.UpdateStatuses(id, statuses);

            return(_responsesService.PutResponse(response));
        }