public IActionResult Get() { return(Ok(_EmployeeDepartmentService.GetAll().Data)); }
public IActionResult GetAll() { var departments = _employeeDepartmentService.GetAll(); return(Ok(departments)); }