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))); } }
public void Create(Recipe_Cart recipe_Cart) { crudRecipe_Cart.Create(recipe_Cart); }