Example #1
0
 public async Task Put(string id)
 {
     await tagsService.CreateTag(id);
 }
Example #2
0
 public string Post([FromBody] TagModel tagModel)
 {
     return(_tagsService.CreateTag(tagModel));
 }
Example #3
0
 public IActionResult Create(string name)
 {
     service.CreateTag(name);
     return(RedirectToAction("Index", "Home"));
 }