Ejemplo n.º 1
0
 public CompanyController(ICompanyRepository companyRepository,
                          IDataValidator dataValidator,
                          IConfigurableOptions configurableOptions,
                          ISellerRepository sellerRepository)
 {
     _companyRepository   = companyRepository;
     _dataValidator       = dataValidator;
     _configurableOptions = configurableOptions;
     _sellerRepository    = sellerRepository;
 }
Ejemplo n.º 2
0
        internal static void Copy(IConfigurableOptions source, IConfigurableOptions target)
        {
            target.LogCallerAddress     = source.LogCallerAddress;
            target.LogRequestProperties = source.LogRequestProperties;
            target.LogRequestHttpData   = source.LogRequestHttpData;
            target.LogRequestBody       = source.LogRequestBody;

            target.LogResponseProperties = source.LogResponseProperties;
            target.LogResponseHttpData   = source.LogResponseHttpData;
            target.LogResponseBody       = source.LogResponseBody;
        }
Ejemplo n.º 3
0
 public CoffeeContext(DbContextOptions <CoffeeContext> options, IConfigurableOptions configurableOptions) : base(options)
 {
     _configurableOptions = configurableOptions;
 }