public IActionResult GetDepartmentsBy(int id) { if (!ModelState.IsValid) { return(BadRequest()); } return(Ok(_departmentAppService.DepartmentBy(id))); }
public IActionResult GetDepartmentsBy(int id) { if (!ModelState.IsValid) { return(BadRequest()); } return(Ok(_departmentAppService.DepartmentBy(id))); }