private UserApplicationMessage LoadSingleUserApplicationMessage(UserApplicationInfo userAppInfo) { UserApplicationMessage appMsg = new UserApplicationMessage(); appMsg.AllowFeed = userAppInfo.AllowFeed == 1; appMsg.AllowProfileLink = userAppInfo.AllowProfileLink == 1; appMsg.AllowSideNav = userAppInfo.AllowSideNav == 1; appMsg.AppId = userAppInfo.AppId; appMsg.DisplayOrder = userAppInfo.DisplayOrder; appMsg.Privacy = GetPrivacyString(userAppInfo.Privacy); return(appMsg); }
private UserApplicationMessage LoadSingleUserApplicationMessage(UserApplicationInfo userAppInfo) { UserApplicationMessage appMsg = new UserApplicationMessage(); appMsg.AllowFeed = userAppInfo.AllowFeed == 1; appMsg.AllowProfileLink = userAppInfo.AllowProfileLink == 1; appMsg.AllowSideNav = userAppInfo.AllowSideNav == 1; appMsg.AppId = userAppInfo.AppId; appMsg.DisplayOrder = userAppInfo.DisplayOrder; appMsg.Privacy = GetPrivacyString(userAppInfo.Privacy); return appMsg; }