コード例 #1
0
 public AgentController(IAgentViewRepository agentViewRepository, IMembershipService membershipService, IModelConverter<Agent, AgentEditModel> agentModelConverter, 
                        IMessageCenter mailService, IBlobStore blobStore, IUnitOfWork unitOfWork) : base(membershipService, blobStore)
 {
     _membershipService = membershipService;
     _agentModelConverter = agentModelConverter;
     _mailService = mailService;
     _unitOfWork = unitOfWork;
     _agentViewRepository = agentViewRepository;
 }
コード例 #2
0
 public PatientController(IPatientViewRepository patientViewRepository, IMembershipService membershipService, 
                          IModelConverter<Patient, PatientEditModel> modelConverter, IMessageCenter mailService, 
                          IAgentViewRepository agentViewRepository) : base(membershipService)
 {
     _patientViewRepository = patientViewRepository;
     _modelConverter = modelConverter;
     _mailService = mailService;
     _agentViewRepository = agentViewRepository;
     _membershipService = membershipService;
 }