public IPagedList<Account> GetRegisterAccounts(DataQueryAndSearchOptions<Account> searchOptions)
 {
     var linq = _repAccount.Fetch(m =>m.State==1&&!m.Deleted).AsQueryable();
     linq = linq.Append(searchOptions);
     return linq.ToPagedList(searchOptions.page, searchOptions.limit);
 }
 public IPagedList<Account> GetAccounts(DataQueryAndSearchOptions<Account> searchOptions)
 {
     var linq = GetAccounts().Where(m=>!m.SystemAccount_N).AsQueryable();
     linq = linq.Append(searchOptions);
     return linq.ToPagedList(searchOptions.page, searchOptions.limit);
 }