Beispiel #1
0
 public async Task UpdateAsync([BindRequired, FromRoute] Guid id, [FromForm] TagCreateUpdateModel tagUpdateModel)
 {
     await UpdateDataAsync(_tagService, id, tagUpdateModel, _mapper);
 }
Beispiel #2
0
 public async Task <ActionResult <TagModel> > CreateItemAsync([FromForm] TagCreateUpdateModel tagCreateModel)
 {
     return(await CreatedItemAsync <TagDto, TagCreateUpdateModel, TagModel, Guid>(_tagService, tagCreateModel, _mapper));
 }