public void UpdatePin(CustomPin item) { _db.Execute("update CustomPin set airlineName='" + item.PinName + "', airlineImageURL='" + item.CreatedDate + "', departureTime='" + item.ModifiedDate + "' where Id=" + item.Id); }
/*----- Pin Manage -----*/ public void AddPin(CustomPin item) { _db.Execute("insert into CustomPin values(null," + item.PinName + ",'" + item.CreatedDate + "','" + item.ModifiedDate + "');"); }