public ActionResult DeleteWord(int id) { var userId = int.Parse(User.FindFirst(TokenClaims.Id).Value); _vocabularyService.DeleteCustomWord(userId, id); return(Ok()); }
public ActionResult DeleteWord(int id) { var userId = int.Parse(User.FindFirst(TokenClaims.Id).Value); _vocabularyService.DeleteCustomWord(userId, id); return(Ok()); }