public RegisterController(RegisterDbWebModel registerDbWebModel)
        {
            _countryBusiness  = DependencyResolver.Current.GetService <ICountryBusiness>();
            _registerBusiness = DependencyResolver.Current.GetService <IRegisterBusiness>();
            _loginBusiness    = DependencyResolver.Current.GetService <ILoginBusiness>();
            _profileBusiness  = DependencyResolver.Current.GetService <IProfileBusiness>();

            _registerDbWebModel = registerDbWebModel;
        }
        public MainController(PostModel postModel)
        {
            _postBusiness = DependencyResolver.Current.GetService<IPostBusiness>();

            _iconBusiness = DependencyResolver.Current.GetService<IIconBusiness>();
            _registerBusiness = DependencyResolver.Current.GetService<IRegisterBusiness>();
            _profileBusiness = DependencyResolver.Current.GetService<IProfileBusiness>();
            _postModel = postModel;
            _postModelList = new List<PostModel>();
        }
Esempio n. 3
0
        public MainController(PostModel postModel)
        {
            _postBusiness = DependencyResolver.Current.GetService <IPostBusiness>();

            _iconBusiness     = DependencyResolver.Current.GetService <IIconBusiness>();
            _registerBusiness = DependencyResolver.Current.GetService <IRegisterBusiness>();
            _profileBusiness  = DependencyResolver.Current.GetService <IProfileBusiness>();
            _postModel        = postModel;
            _postModelList    = new List <PostModel>();
        }
        public ProfileController(ProfileModel profileModel)
        {
            _countryBusiness  = DependencyResolver.Current.GetService <ICountryBusiness>();
            _postBusiness     = DependencyResolver.Current.GetService <IPostBusiness>();
            _iconBusiness     = DependencyResolver.Current.GetService <IIconBusiness>();
            _profileBusiness  = DependencyResolver.Current.GetService <IProfileBusiness>();
            _loginBusiness    = DependencyResolver.Current.GetService <ILoginBusiness>();
            _registerBusiness = DependencyResolver.Current.GetService <IRegisterBusiness>();

            _profileModel = profileModel;
        }
        public ProfileController(ProfileModel profileModel)
        {
            _countryBusiness = DependencyResolver.Current.GetService<ICountryBusiness>();
                _postBusiness = DependencyResolver.Current.GetService<IPostBusiness>();
                _iconBusiness = DependencyResolver.Current.GetService<IIconBusiness>();
                _profileBusiness = DependencyResolver.Current.GetService<IProfileBusiness>();
                _loginBusiness = DependencyResolver.Current.GetService<ILoginBusiness>();
                _registerBusiness = DependencyResolver.Current.GetService<IRegisterBusiness>();

                _profileModel = profileModel;
        }
Esempio n. 6
0
        //private readonly IDashBoardManager _dashboardManager;

        public RegisterController(IRegisterBusiness mIregisterBusiness,
                                  IRegisterBusiness mRegisterBusiness
                                  //ICardDetailsBusiness mICardDetailsBusiness, IPaymentDetailsBusiness mpaymentDetailsBusiness,
                                  //IEmailsBusiness memailsBusiness, ISetupProcessBusiness mSetupProcessBusiness,
                                  //IPurchaseUsersBusiness mpurchaseUsersBusiness
                                  )
        {
            //MyUserInfo = SetUserInfo();
            m_IRegisterBusiness = mIregisterBusiness;
            //m_RegisterBusiness = mRegisterBusiness;
            //m_ICardDetailsBusiness = mICardDetailsBusiness;
            //m_paymentDetailsBusiness = mpaymentDetailsBusiness;
            //m_IEmailsBusiness = memailsBusiness;
            //m_ISetupProcessBusiness = mSetupProcessBusiness;
            //m_IPurchaseUsersBusiness = mpurchaseUsersBusiness;
        }
Esempio n. 7
0
 public RolesController(RegisterBusiness registerbusiness)
 {
     _registerbusiness = registerbusiness;
 }
 public UserController()
 {
     _loginBusiness = DependencyResolver.Current.GetService<ILoginBusiness>();
         _registerBusiness = DependencyResolver.Current.GetService<IRegisterBusiness>();
         _mailBusiness = DependencyResolver.Current.GetService<IMailBusiness>();
 }
Esempio n. 9
0
 public UsersController(RegisterBusiness registerbusiness)
 {
     _registerbusiness = registerbusiness;
 }
 public UserController()
 {
     _loginBusiness    = DependencyResolver.Current.GetService <ILoginBusiness>();
     _registerBusiness = DependencyResolver.Current.GetService <IRegisterBusiness>();
     _mailBusiness     = DependencyResolver.Current.GetService <IMailBusiness>();
 }
Esempio n. 11
0
 public AccountController(IRolesBusiness rolebusiness, IRegisterBusiness registerbusiness, ILogInBusiness loginbusiness)
 {
     _registerbusiness = registerbusiness;
     _loginbusiness    = loginbusiness;
     _rolebusiness     = rolebusiness;
 }