Exemple #1
0
 public VoteController(
     IVoteRepository _Vote
     , IUserRepository _user
     , IQuestionRepository _Question
     , IAnswerRepository _Answer
     , IProductInvoiceRepository productInvoice
     , ICustomerRepository _Customer
     , IUsingServiceLogDetailRepository usingServiceLogDetail
     )
 {
     voteRepository                  = _Vote;
     userRepository                  = _user;
     questionRepository              = _Question;
     answerRepository                = _Answer;
     productInvoiceRepository        = productInvoice;
     CustomerRepository              = _Customer;
     usingServiceLogDetailRepository = usingServiceLogDetail;
 }
Exemple #2
0
 public ServiceController(
     IProductOrServiceRepository _Service
     , IUserRepository _user
     , IObjectAttributeRepository _ObjectAttribute
     , IServiceComboRepository serviceCombo
     , IUsingServiceLogRepository usingServiceLog
     , IProductInvoiceRepository productInvoice
     , ICustomerRepository _Customer
     , IUsingServiceLogDetailRepository usingServiceLogDetail
     , IServiceReminderRepository serviceReminder
     , IServiceReminderGroupRepository serviceReminderGroup
     )
 {
     ServiceRepository               = _Service;
     userRepository                  = _user;
     ObjectAttributeRepository       = _ObjectAttribute;
     serviceComboRepository          = serviceCombo;
     usingServiceLogRepository       = usingServiceLog;
     productInvoiceRepository        = productInvoice;
     CustomerRepository              = _Customer;
     usingServiceLogDetailRepository = usingServiceLogDetail;
     serviceReminderGroupRepository  = serviceReminderGroup;
     serviceReminderRepository       = serviceReminder;
 }