Begun integration of models and managers
The HotelManager class now has been connected to some aspects of the command line interface and is functioning for a few cases such as logging in as a specific guest via email, chaging a guests information and creating a new guest account. This was implemented first over the reservation system to test and implement something on a smaller scale. Furthermore, the reservation depends on an existing guest account since a Guest ID needs to be linked to the reservation that is created. Other changes include redesigning, tweaking/ adjusting, and/ or fixing of other modules that have not yet been implemented or are partially implemented.
This commit is contained in:
@@ -17,14 +17,9 @@ namespace Ophelias.Models
|
||||
internal string? CCV;
|
||||
internal string? Expiration;
|
||||
|
||||
internal Guest(string FirstName, string LastName, string Email)
|
||||
{
|
||||
this.FirstName = FirstName;
|
||||
this.LastName = LastName;
|
||||
this.Email = Email;
|
||||
}
|
||||
internal Guest(string FirstName, string LastName, string Email, string CreditCard, string Expiration, string CCV)
|
||||
internal Guest(int Id, string FirstName, string LastName, string Email, string? CreditCard = null, string? Expiration = null, string? CCV = null)
|
||||
{
|
||||
this.Id = Id;
|
||||
this.FirstName = FirstName;
|
||||
this.LastName = LastName;
|
||||
this.Email = Email;
|
||||
|
||||
Reference in New Issue
Block a user