public CreateEntity1CommandHandler(IEntity1Repository entity1Repository) { _entity1Repository = entity1Repository; }
public CreateEntity1CommandHandler(IEntity1Repository entity1Repository, IUnitOfWork unitOfWork) { _entity1Repository = entity1Repository; _unitOfWork = unitOfWork; }
public Entity1Query(IEntity1Repository entity1Repository, IMapper mapper) { this._entity1Repository = entity1Repository; this._mapper = mapper; }