public void AddCart(Cart cart) { repo.AddCart(cart); }
public string Post([FromBody] CartModels.Cart cart) { return(_cartRepo.AddCart(cart)); }