AddOrUpdateAppointmentForm now populates values when modifying appointment
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user