예제 #1
0
        public IHttpActionResult Post(Recipe_Cart recipe_cart)
        {
            try
            {
                var mng = new Recipe_CartManager();
                mng.Create(recipe_cart);

                apiResp = new ApiResponse
                {
                    Message = "Lo logaste!."
                };

                return(Ok(apiResp));
            }
            catch (BussinessException bex)
            {
                return(InternalServerError(new Exception(bex.ExceptionId + "-" + bex.AppMessage.Message)));
            }
        }
예제 #2
0
 public void Create(Recipe_Cart recipe_Cart)
 {
     crudRecipe_Cart.Create(recipe_Cart);
 }