Example #1
0
        public IActionResult GetInquiries([FromBody] ClientId_Department clientwithdepart)
        {
            if (clientwithdepart.department_address == null)
            {
                return(BadRequest());
            }

            return(Ok(_repository.GetInquiries(clientwithdepart.client_id, clientwithdepart.department_address)));
        }