public Task <Gig> ChangeCoverImageAsync(Gig gig, string coverImage) { gig.SetCover(coverImage); return(Task.FromResult(gig)); }
public Task <Gig> CreateAsync(string title, Guid categoryId, string coverImage, string description) { var newGig = Gig.Create(GuidGenerator.Create(), categoryId, title, coverImage, description); return(_gigRepository.InsertAsync(newGig, true)); }