AddOrUpdateAppointmentForm now populates values when modifying appointment

This commit is contained in:
Spudnut2000
2025-06-22 00:04:34 -05:00
parent f496bbbed2
commit 188633b6d3
6 changed files with 254 additions and 119 deletions

View File

@@ -421,7 +421,7 @@ namespace C969Project.Data
return null;
}
public static List<Appointment> RetrieveAllAppointments(int? userId = null)
public static List<Appointment> RetrieveAppointments(int? userId = null)
{
using MySqlConnection connection = new MySqlConnection(AppSettings.GetSetting("ConnectionStrings", "DefaultConnection"));
try

View File

@@ -10,4 +10,9 @@ public class Customer
public string CreatedBy { get; set; }
public DateTime LastUpdate { get; set; }
public string LastUpdateBy { get; set; }
public override string ToString()
{
return CustomerName;
}
}