public void Remove(int id)
 {
     try
     {
         ShoppingListMgr mgr = new ShoppingListMgr();
         mgr.Remove(id);
     }
     catch (Exception ex)
     {
     }
 }
 public void Update([FromBody] ShoppingList item)
 {
     try
     {
         ShoppingListMgr mgr = new ShoppingListMgr();
         mgr.Update(item);
     }
     catch (Exception ex)
     {
     }
 }
 public IEnumerable <ShoppingList> Get(int id)
 {
     try
     {
         ShoppingListMgr mgr = new ShoppingListMgr();
         return(mgr.GetAll(id));
     }
     catch (Exception ex)
     {
     }
     return(null);
 }