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