public List <UserTypes> GetAll() { return(_userTypesDal.GetList()); }
public List <UserTypes> GetAllUserTypes(Expression <Func <UserTypes, bool> > filter = null) { return(filter == null?_userTypesDal.GetList() : _userTypesDal.GetList(filter)); }