public User(string id, string email, string password, Profile profile)
 {
     this.id = id;
     this.email = email;
     this.password = password;
     this.Profile = profile;
 }
 public object Clone()
 {
     var copy = new Profile();
     copy.id = this.id;
     copy.Name = this.Name;
     return copy;
 }
 public User()
 {
     this.id = null;
     this.email = null;
     this.password = null;
     this.Profile = null;
 }
 public static Profile UserProfile()
 {
     var profile = new Profile();
     profile.id = "4321";
     profile.CanViewDateCalculator = false;
     return profile;
 }
 public static Profile AdminProfile()
 {
     var profile = new Profile();
     profile.id = "1234";
     profile.CanViewDateCalculator = true;
     return profile;
 }
 public static Profile Operator()
 {
     var profile = new Profile();
     profile.id = "2";
     profile.CanViewDateCalculator = true;
     profile.CanViewManagerUser = false;
     profile.Name = "Operador";
     return profile;
 }
 public static Profile Assistant()
 {
     var profile = new Profile();
     profile.id = "3";
     profile.CanViewDateCalculator = false;
     profile.CanViewManagerUser = false;
     profile.Name = "Assistente";
     return profile;
 }
        public static Profile AdminProfile()
        {
            var profile = new Profile();
            profile.id = "1";
            profile.CanViewDateCalculator = true;

            profile.CanViewManagerUser = true;
            profile.Name = "Admin";
            return profile;
        }
 public User()
 {
     this.id = null;
     this.profile = null;
 }