Esempio n. 1
0
        public IActionResult GetList()
        {
            var result = _personelService.GetList();

            if (result.Success)
            {
                return(Ok(result.Data));
            }
            return(BadRequest(result.Message));
        }
Esempio n. 2
0
 public ActionResult GetList()
 {
     var result = _personelService.GetList();
 }