// Edit the viewing with the 'viewingid' public static bool ModifyViewing(int viewingid, int movieid, int customerid, DateTime viewedon) { try { Call(SqlProcedures.ModifyViewing(viewingid, movieid, customerid, viewedon)); return(true); } catch (Exception e) { MessageBox.Show(e.Message); return(false); } }