Exemplo n.º 1
0
        public AccountApiController(IAuthentication formsService, IViewElementRoleService viewElementRoleService, ICompanyChartService CompanyChartService,
                                    IUserService userService, IServiceBase <CoreUserLog> userLogService, IUserProfileService userprofileService, IConstantService constantService, IDomainAuthenticationService domainAuthenticationService)
        {
            _membershipService = new AccountMembership();

            _formsService = formsService;

            _viewElementRoleService      = viewElementRoleService;
            _companyChartService         = CompanyChartService;
            _userService                 = userService;
            _userLogService              = userLogService;
            _userProfileService          = userprofileService;
            _constantService             = constantService;
            _domainAuthenticationService = domainAuthenticationService;
        }
Exemplo n.º 2
0
 public UserProfileService(IDbContextBase dbContextBase, IDomainAuthenticationService domainAuthenticationService)
     : base(dbContextBase)
 {
     _repositoryBase = new UserProfileRepository(dbContextBase);
     _domainAuthenticationService = domainAuthenticationService;
 }