Ejemplo n.º 1
0
 public PictureService(
     IPictureRepository pictureRepository,
     IPictureFactory pictureFactory)
 {
     this.pictureRepository = pictureRepository;
     this.pictureFactory    = pictureFactory;
 }
Ejemplo n.º 2
0
 public UiMessageFactory()
 {
     _pictureFactory = new PictureFactory();
 }
 public CreatePictureCommandHandler(MonumentsDbContext dbContext,
                                    IPictureFactory pictureFactory)
 {
     _dbContext      = dbContext;
     _pictureFactory = pictureFactory;
 }