Feature: User List Sorted.

Fix: Checkes were not being removed from Listbox
This commit is contained in:
tanshu
2014-11-10 12:54:48 +05:30
parent 948cd0bf28
commit 3706d8eb1e
3 changed files with 15 additions and 2 deletions

View File

@ -9,6 +9,13 @@ namespace Tanshu.Accounts.Repository
{
public class UserBI : UnitOfWork<User>
{
public new IList<User> List()
{
return _session.QueryOver<User>()
.OrderBy(x => x.Name).Asc
.List<User>();
}
public IList<Group> GroupList()
{
return _session.QueryOver<Group>()