예제 #1
0
        public ContentResult DeleteRecipeProd(int recipeId, int prodId)
        {
            string json = "";

            int rez = _recipeProvider.DeleteRecipeProd(recipeId, prodId);

            json = JsonConvert.SerializeObject(new
            {
                rez = rez
            });
            return(Content(json, "application/json"));
        }