public static void UpdateBorrow(Borrow borrow)//Update { DBClass.InsertCommand("exec spUpdateBORROW " + borrow.UserId + "," + borrow.ItemId + " , '" + borrow.ReturnDate + "'"); }
public static void InsertBorrow(Borrow borrow)//Insert { DBClass.InsertCommand("exec spInsertBORROW " + borrow.UserId + ", " + borrow.ItemId + ",'" + borrow.ReceiveDate + "', '" + borrow.ReturnDate + "'"); }