Example #1
0
 public ManagContactController(IContactRepository contactRepository, IPhoneContactRepository phoneContactRepository)
 {
     this.contactRepository      = contactRepository;
     this.phoneContactRepository = phoneContactRepository;
 }
 public ManagContactController(IContactRepository contactRepository, IPhoneContactRepository phoneContactRepository, ApplicationDbContext applicationDbContext)
 {
     this.contactRepository      = contactRepository;
     this.phoneContactRepository = phoneContactRepository;
     this.applicationDbContext   = applicationDbContext;
 }
Example #3
0
 public PhoneContactService(IPhoneContactRepository phoneContactRepository, ICustomerRepository customerRepository)
 {
     _phoneContactRepository = phoneContactRepository;
     _customerRepository     = customerRepository;
 }