示例#1
0
        public ActionResult <List <ServiceRequestDto> > Get()
        {
            var response = _servicerequest.GetAllRecords();

            if (response.Count == 0)
            {
                return(NoContent());
            }
            else
            {
                return(Ok(response));
            }
        }