예제 #1
0
        public ActionResult GetEmployer(int id)
        {
            var employer = _employerService.GetBy(id);

            if (employer == null)
            {
                return(NotFound(new { success = false, message = "Không tìm thấy" }));
            }
            return(Ok(new { success = true, data = employer }));
        }