public async Task UpdateAsync([BindRequired, FromRoute] string id, [FromBody] TagLargeCreateUpdateModel tagUpdateModel) { await UpdateDataAsync(_tagService, id, tagUpdateModel, _mapper); }
public async Task <ActionResult <TagLargeModel> > CreateItemAsync([FromBody] TagLargeCreateUpdateModel tagCreateModel) { return(await CreatedItemAsync <TagLargeDto, TagLargeCreateUpdateModel, TagLargeModel, string>(_tagService, tagCreateModel, _mapper)); }