/// <summary> /// /// </summary> /// <param name="_userGuid"></param> /// <param name="_roleName">Case Sensitive</param> /// <returns></returns> public TGUserRole GetUserRole(Guid _userGuid, string _roleName) { TGUserRoleDAO dao = new TGUserRoleDAO(MongoDB); return(dao.Get(_userGuid, _roleName)); }
public TGUserRole GetUserRole(Guid _userRoleGuid) { TGUserRoleDAO dao = new TGUserRoleDAO(MongoDB); return(dao.Get(_userRoleGuid)); }