public async Task <JsonResult> AddFavourite(Model.EF.Favourite entity)
 {
     return(Json(await new FavouriteDAO().Add(entity), JsonRequestBehavior.AllowGet));
 }
Example #2
0
 public JsonResult AddFavourite(Model.EF.Favourite entity)
 {
     return(Json(new FavouriteDAO().Add(entity), JsonRequestBehavior.AllowGet));
 }