public EditPublication(
     IGetablePublication getablePublication,
     IRepositoryAsync <PublicationEntity> publicationRepository)
 {
     _getablePublication    = getablePublication;
     _publicationRepository = publicationRepository;
 }
 public PublicationController(
     IGetablePublication getablePublication,
     IMapper mapper)
 {
     _getablePublication = getablePublication;
     _mapper             = mapper;
 }
 public GetFavorite(
     IGetablePublication getablePublication,
     IGetableUser getableUser)
 {
     _getablePublication = getablePublication;
     _getableUser        = getableUser;
 }
 public PublicationController(
     IEditablePublicationAsync editablePublication,
     IGetablePublication getablePublication,
     IMapper mapper)
 {
     _editablePublication = editablePublication;
     _getablePublication  = getablePublication;
     _mapper = mapper;
 }
示例#5
0
 public LikeFavorite(
     IGetableUser getableUser,
     IGetablePublication getablePublication,
     IGetableFavorite getableFavorite,
     IRepositoryAsync <PublicationEntity> repository)
 {
     _getableUser        = getableUser;
     _getablePublication = getablePublication;
     _getableFavorite    = getableFavorite;
     _repository         = repository;
 }
 public AddPublication(
     IGetablePublication getablePublication,
     IGetableUser getableUser,
     IRepositoryAsync <PublicationEntity> publicationRepository,
     IImageRepositorySystemAsync imageRepositorySystem)
 {
     _getablePublication    = getablePublication;
     _getableUser           = getableUser;
     _publicationRepository = publicationRepository;
     _imageRepositorySystem = imageRepositorySystem;
 }