public IActionResult Get()
 {
     return(Ok(_EmployeeDepartmentService.GetAll().Data));
 }
예제 #2
0
        public IActionResult GetAll()
        {
            var departments = _employeeDepartmentService.GetAll();

            return(Ok(departments));
        }