public GroupPermissionModel GetUserGroup(long userId)
 {
     using (ApplicationUserTier applicationUser = new ApplicationUserTier())
     {
         return applicationUser.GetUserGroup(userId);
     }
 }
 public ApplicationUser GetByLogin(string loginName)
 {
     using (ApplicationUserTier applicationUser = new ApplicationUserTier())
     {
         return applicationUser.GetByLogin(loginName);
     }
 }
 public IList<GroupPermissionModel> GetPermissions(long userId)
 {
     using (ApplicationUserTier applicationUser = new ApplicationUserTier())
     {
         return applicationUser.GetPermissions(userId);
     }
 }
 public ApplicationUser GetById(long id)
 {
     using (ApplicationUserTier applicationUser = new ApplicationUserTier())
     {
         return applicationUser.GetById(id);
     }
 }