Example #1
0
        public IActionResult ReasonRequest()
        {
            var result = _chartRepository.ReasonRequest();

            if (result != null)
            {
                return(Ok(new { status = HttpStatusCode.OK, result, message = "Data Found" }));
            }
            else
            {
                return(NotFound(new { status = HttpStatusCode.NotFound, message = "Not Found", result = "" }));
            }
        }