public CreateNewImageCommand(int imageId, string imageLink, bool profileImage, Models.Shop.Product product) { ImageId = imageId; ImageLink = imageLink; ProfileImage = profileImage; Product = product; }
public UpdateCommentCommand(int commentId, string commentContent, Models.Shop.Product product, int userId) { CommentId = commentId; CommentContent = commentContent; Product = product; UserId = userId; }
public CommentCreatedEvent(int commentId, string commentContent, Models.Shop.Product product, int userId) { CommentId = commentId; CommentContent = commentContent; Product = product; UserID = userId; AggregateId = commentId; }
public ImageUpdatedEvent(int imageId, string imageLink, bool profileImage, Models.Shop.Product product) { ImageId = imageId; ImageLink = imageLink; ProfileImage = profileImage; Product = product; AggregateId = imageId; }