예제 #1
0
        public IActionResult GetFunctionById(int id)
        {
            if (id > 0)
            {
                var model = _functionService.GetFunctioneById(id);

                return(new OkObjectResult(new { data = model, status = true }));
            }
            return(new OkObjectResult(new { status = false }));
        }