Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public ActionResult <int> DeleteTagById(int tagId) { AuthorDataAccess tags = new AuthorDataAccess(); var tag = tags.GetTagById(tagId); if (tag == null) { return(BadRequest("Тега не существует")); } tags.DeleteTagById(tagId); return(Ok(tagId)); }