public IList <Division> GetObjectsByDepartmentId(int DepartmentId) { return(_repository.FindAll(x => x.DepartmentId == DepartmentId && !x.IsDeleted).ToList()); }