示例#1
0
 public UserPlantActivityService(IFileClient fileClient, IUserPlantsRepository userPlantsRepository)
 {
     _fileClient           = fileClient ?? throw new ArgumentNullException(nameof(fileClient));
     _userPlantsRepository = userPlantsRepository ?? throw new ArgumentNullException(nameof(userPlantsRepository));
 }
示例#2
0
 public UserPlantService(IUserPlantsRepository userPlantRepository)
 {
     _userPlantRepository = userPlantRepository ?? throw new ArgumentNullException(nameof(userPlantRepository));
 }