// POST: api/User/PostBuyAllFromCart public IHttpActionResult PostBuyAllFromCart() { var user = GetDomainUser(); Debug.Assert(user != null); UserBll.BuyAllFromCart(user); return(Ok()); }