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; }
public TenantsController(ITenantRepo repo) { _repo = repo; }