Ejemplo n.º 1
0
 public AssociateController(
     IMembershipService membershipService,
     IMembershipService associateMembershipService,
     IAssociateService associateService,
     IDocumentService documentService,
     IReferenceService referenceService,
     IEmployeeService employeeService,
     IProspectService prospectService,
     IPrincipal user,
     IClientProjectSharedService clientProjectSharedService,
     IIndividualService individualService,
     IRoleService roleService,
     Admin.Services.IEmailService emailService)
     : base(membershipService, associateService, user)
 {
     this.associateService = associateService;
     this.documentService = documentService;
     this.referenceService = referenceService;
     this.employeeService = employeeService;
     this.prospectService = prospectService;
     this.associateMembershipService = associateMembershipService;
     this.clientProjectSharedService = clientProjectSharedService;
     this.individualService = individualService;
     this.roleService = roleService;
     this.emailService = emailService;
 }
Ejemplo n.º 2
0
 public TimeSheetController(ITimesheetService timesheetService, IAssociateService associateService, IMembershipService membershipService, MomentaRecruitment.Common.Services.ITimesheetAssociateService timesheetAssociateService)
 {
     this.timesheetService = timesheetService;
     this.associateService = associateService;
     this.membershipService = membershipService;
     this.timesheetAssociateService = timesheetAssociateService;
     this.vatRate = Convert.ToDecimal(ConfigurationManager.AppSettings["VatRate"]);
 }