public static List <GetUserTrackerPermissionResult> GerUserTrackerPermissionByGroupId(long lgGroupId) { try { using (objUserContext = new UserDataContext(StrConnection)) { return(objUserContext.GetUserTrackerPermission(lgGroupId).ToList()); } } catch (Exception ex) { Functions.Write(ex, System.Reflection.MethodBase.GetCurrentMethod().Name, PageMaster.Role, mySession.Current.UserId); return(null); } }