示例#1
0
 public CategoryCreateCommandHandler(IMapper mapper, IReadonlyCategoryRepository readonlyCategoryRepository, IWriteonlyCategoryRepository writeonlyCategoryRepository)
 {
     _mapper = mapper;
     _readonlyCategoryRepository  = readonlyCategoryRepository;
     _writeonlyCategoryRepository = writeonlyCategoryRepository;
 }
示例#2
0
 public CategoryService(IReadonlyCategoryRepository readonlyCategoryRepository, IWriteonlyCategoryRepository writeonlyCategoryRepository)
 {
     _readonlyCategoryRepository  = readonlyCategoryRepository;
     _writeonlyCategoryRepository = writeonlyCategoryRepository;
 }