Exemplo n.º 1
0
 public ResourcesController(IResourceRepo resources, ITenantRepo tenants, IConfiguration config,
                            ILoggerService logger, IEmailService email, ILeasingDataRepo leasingDatas,
                            IResourceDataFactory resourceDataFactory)
 {
     _resources           = resources;
     _tenants             = tenants;
     _config              = config;
     _logger              = logger;
     _email               = email;
     _resourceDataFactory = resourceDataFactory;
     _leasingDatas        = leasingDatas;
     dateFormat           = _config.GetSection("DateFormats").GetSection("Default").Value;
 }
Exemplo n.º 2
0
 public TenantsController(ITenantRepo repo)
 {
     _repo = repo;
 }