public async Task <ActionResult <List <ReleaseNoteViewModel> > > UpdateReleaseNote( CreateOrUpdateReleaseNoteRequest request, Guid releaseId, Guid releaseNoteId) { return(await _releaseNoteService .UpdateReleaseNoteAsync(releaseId, releaseNoteId, request) .HandleFailuresOr(Ok)); }
public async Task <ActionResult <List <ReleaseNoteViewModel> > > AddReleaseNote(CreateOrUpdateReleaseNoteRequest request, Guid releaseId) { return(await _releaseNoteService .AddReleaseNoteAsync(releaseId, request) .HandleFailuresOr(result => Created(HttpContext.Request.Path, result))); }