Beispiel #1
0
        public IActionResult AssinTicket([FromBody] AssignTicketResource model)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            model.Status = false;
            repository.AssignTicket(model);

            unitOfWork.CompleteAsync();
            return(Ok(model));
        }