public string AddSellingPoint([Bind(Include = "Address,ShawarmaTitle")] SellingPoint sellingPoint) { return(DatabaseQueries.AddSellingPoint(sellingPoint.ShawarmaTitle, sellingPoint.Address, Request.Form["SellingPointCategory"]) ? "Success" : "Error"); }
public bool TestAddSellingPoint(string sellingPointTitle, string address, string categoryName) { return(DatabaseQueries.AddSellingPoint(sellingPointTitle, address, categoryName)); }