public User(string firstname, string lastname, string cin, DateTime selectedDate, string password, bool superUser, string phoneNumber, string role, string city) { this.Fisrtname = firstname; this.Lastname = lastname; this.CIN = cin; this.DateOfBirth = selectedDate; this.Password = password; this.IsSuperUser = superUser; this.PhoneNumber = phoneNumber; this.Role = role; this.City = CityDAO.GetCityByName(city); }