public BillingControllerTest() { var mappingConfig = new MapperConfiguration(mc => { mc.AddProfile(new BillingProfile()); }); mapper = mappingConfig.CreateMapper(); repository = new MockBasicBillingRepoImpl(); controller = new BillingController(repository, mapper); }
public ClientsController(IBasicBillingRepo repository, IMapper mapper) { this.repository = repository; this.mapper = mapper; }