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