public Costumer(string firstname, string lastName, string email, string phonenumber, string password, Adderss address)
        {
            CheckValidInput(password, firstname, lastName, email, address, phonenumber);

            Id          = Guid.NewGuid();
            FirstName   = firstname;
            LastName    = lastName;
            Email       = CheckEmail(email);
            Address     = address;
            Phonenumber = phonenumber;
            Password    = CheckPassword(password);
            Role        = EnumRoles.COSTUMER;
        }
 private void CheckValidInput(string password, string firstname, string lastName, string email, Adderss address, string phonenumber)
 {
     if (string.IsNullOrEmpty(password) || string.IsNullOrEmpty(email) || string.IsNullOrEmpty(firstname) || string.IsNullOrEmpty(lastName) || string.IsNullOrEmpty(phonenumber) ||
         string.IsNullOrEmpty(address.StreetNumber) || string.IsNullOrEmpty(address.PostalArea) || string.IsNullOrEmpty(address.PostalNumber) || string.IsNullOrEmpty(address.StreetName))
     {
         throw new CostumerException("Some fields are missing");
     }
 }