Esempio n. 1
0
        public IActionResult GetParentFunction()
        {
            var model = _functionService.GetParentFunction();

            if (model != null && model.Count > 0)
            {
                return(new OkObjectResult(new { data = model, Status = true }));
            }
            return(new OkObjectResult(new { Status = false }));
        }