public ContactControllerTest() { _dataContext = Substitute.For <IDataContext>(); _contactusService = Substitute.For <IContactusService>(); _contactusController = new ContactusController(_dataContext, _contactusService); }
public ContactusController(IDataContext context, IContactusService contactusService) { _context = context; _contactusService = contactusService; }