예제 #1
0
 public Object AddFav(Favorite fav)
 {
     return(data.AddFavorite(fav.username, fav.questionID));
 }
예제 #2
0
 //Might need [FromBody]
 public void AddFavorite([FromForm] Favorite F)
 {
     dal.AddFavorite(F);
 }
예제 #3
0
 public void AddFavorite(Favorites fav)
 {
     dal.AddFavorite(fav);
 }
예제 #4
0
 //Might need [FromBody]
 public void AddFavorite(Favorite F)
 {
     dal.AddFavorite(F);
 }