Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="logger"></param>
 /// <param name="companyRepository"></param>
 /// <param name="userRepository"></param>
 /// <param name="companyAvatarsRepository"></param>
 /// <param name="TenantManager"></param>
 public CompanyManager(ILogger <CompanyManager> logger, ITenantRepository TenantRep, IRequestStatusRepository requestStatusRepository, ICompanyRepository companyRepository, IUserRepository userRepository, IAzureCompanyAvatarRepository companyAvatarsRepository)
 {
     _logger                   = logger ?? throw new ArgumentNullException(nameof(logger));
     _companyRepository        = companyRepository ?? throw new ArgumentNullException(nameof(companyRepository));
     _TenantRep                = TenantRep ?? throw new ArgumentNullException(nameof(companyRepository));
     _companyAvatarsRepository = companyAvatarsRepository ?? throw new ArgumentNullException(nameof(companyAvatarsRepository));
     _userRepository           = userRepository ?? throw new ArgumentNullException(nameof(userRepository));
 }
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="azureCompanyAvatarRepository"></param>
 public CompanyAvatarsManager(IAzureCompanyAvatarRepository azureCompanyAvatarRepository)
 {
     _azureCompanyAvatarRepository = azureCompanyAvatarRepository ?? throw new ArgumentNullException(nameof(azureCompanyAvatarRepository));
 }