Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public async Task <IActionResult> CopyTag([FromBody] TagCopyInfo copyInfo) { if (!ModelState.IsValid) { return(BadRequest(new ProblemModel(ModelState))); } var newTag = await _photoSevice.CopyTags(copyInfo.NewTagName, copyInfo.SourceTagId); return(Ok(new Dto.Tag(newTag))); }