public List <Violation> GetDepartmentViolations(int departmentID) { List <Violation> violations = SqlManager.GetDepartmentViolations(departmentID); if (violations == null) { return(new List <Violation>()); } return(violations); }
public List <Violation> GetDepartmentViolations(int departmentID) { List <Violation> violations = SqlManager.GetDepartmentViolations(departmentID); if (violations == null) { return(new List <Violation>()); } return(violations); }