public static AccountServices GetInstance() { if (instance == null) { instance = new AccountServices(); } return instance; }
protected override void Initialize(System.Web.Routing.RequestContext requestContext) { base.Initialize(requestContext); accountServices = AccountServices.GetInstance(); }
protected override void Initialize(System.Web.Routing.RequestContext requestContext) { accountServices = AccountServices.GetInstance(); eventServices = EventServices.GetInstance(); apiServices = ApiServices.GetInstance(); commentServices = CommentServices.GetInstance(); base.Initialize(requestContext); }
//public IMembershipService MembershipService { get; set; } protected override void Initialize(RequestContext requestContext) { if (FormsService == null) { FormsService = new FormsAuthenticationService(); } //if (MembershipService == null) { MembershipService = new AccountMembershipService(); } accountServices = AccountServices.GetInstance(); base.Initialize(requestContext); }
private AccountServices getAccountService() { if (accountService == null) accountService = AccountServices.GetInstance(); return accountService; }
public OmniService() { eventServices = new EventServices(); accountServices = new AccountServices(); }