public ContactsService(SessionMemberInfoDTO sessionMemberInfo) { contactsDAO = new ContactsDAO(sessionMemberInfo); memberInfo = sessionMemberInfo; resourceManager = new ResourceManager("Resources.Resource", Assembly.Load("App_GlobalResources")); cultureInfo = new CultureInfo(memberInfo.lang, false); }
public static void create(int memberId, string memberName, string memberLang, int memberTimeZoneMinsOffset) { SessionMemberInfoDTO enSessionMemberInfo = new SessionMemberInfoDTO(); enSessionMemberInfo.id = memberId; enSessionMemberInfo.name = memberName; enSessionMemberInfo.lang = memberLang; enSessionMemberInfo.timeZoneMinsOffset = memberTimeZoneMinsOffset; sessionMemberInfo = enSessionMemberInfo; }
public PreferencesDAO(SessionMemberInfoDTO sessionMemberInfo) { dbWrapper = new DBWrapper(); memberInfo = sessionMemberInfo; }
public ContactsDAO(SessionMemberInfoDTO sessionMemberInfo) { dbWrapper = new DBWrapper(); memberInfo = sessionMemberInfo; }