public object Post(AdminPanel request) { Global.Log.Debug("Post"); foreach (var p in request.Products) Global.Log.Debug(p.Id); return null; }
public object Delete(AdminPanel request) { Global.Log.Debug("Delete"); var id = Request.FormData["id"]; Global.Log.Debug(id); return null; }
public object Get(AdminPanel request) { return new AdminPanelResponse { Results = new ProductDbProvider().GetAll() }; }