public AccountController(IPopulateModel <Login, LoginViewModel> populateModelLogin, IGenericRepository <User> userRepository, IGenericRepository <Phone> phoneRepository) { this.populateModelLogin = populateModelLogin; this.userRepository = userRepository; this.userService = new UserService(this.userRepository, this.phoneRepository); }
public ContactUsController(IGenericRepository <ContactUs> contactUsRepository, IPopulateModel <ContactUs, ContactUsViewModel> contactUsService) { this.contactUsRepository = contactUsRepository; this.contactUsService = contactUsService; }