public BillingControllerTest()
        {
            var mappingConfig = new MapperConfiguration(mc =>
            {
                mc.AddProfile(new BillingProfile());
            });

            mapper     = mappingConfig.CreateMapper();
            repository = new MockBasicBillingRepoImpl();
            controller = new BillingController(repository, mapper);
        }
示例#2
0
 public ClientsController(IBasicBillingRepo repository, IMapper mapper)
 {
     this.repository = repository;
     this.mapper     = mapper;
 }