public AccountSearch(string name, Gender gender, DetectionCompany company, DetectionGroup group, int pageindex, int pagesize) : this() { this.Name = name; this.Gender = gender; this.Company = company; this.Group = group; this.PagingInfo = new PagingInfo(pageindex, pagesize); }
public AccountSearch(string name, Gender gender, DetectionCompany company, DetectionGroup group, PagingInfo pagingInfo) : this() { this.Name = name; this.Gender = gender; this.Company = company; this.Group = group; this.PagingInfo = pagingInfo; }
public static Boolean CanDelete(DetectionGroup group) { //TODO: Check relations return !(group.IsLocked || group.Category != DetectionGroupCategory.Misc); }