Exemple #1
0
 public UserType SecondUserType()
 {
     var secondUserType = new UserType
     {
         UserTypeId = 2,
         UserTypeValue = UserTypes.Values.Client.ToString()
     };
     return secondUserType;
 }
Exemple #2
0
 public UserType FirstUserType()
 {
     var firstUserType = new UserType
     {
         UserTypeId = 1,
         UserTypeValue = UserTypes.Values.Cooker.ToString()
     };
     return firstUserType;
 }
Exemple #3
0
 partial void OnUserTypeChanging(UserType value);
Exemple #4
0
 public Employee(string email, string password, string fullName, int id, int phoneNumber, UserType type, bool changePassword)
 {
     this.email          = email;
     this.password       = password;
     this.fullName       = fullName;
     this.id             = id;
     this.phoneNumber    = phoneNumber;
     this.type           = type;
     this.changePassword = changePassword;
 }
Exemple #5
0
 public User (string name, UserType userType)
     : this()
 {
     Name = name;
     UserType = userType;
 }
Exemple #6
0
        public int Save(UserType _object)
        {
            int _returnValue = base.Save <UserType>("spAddEditUserType", _object);

            return(_returnValue);
        }
Exemple #7
0
 public User(string name, UserType userType)
     : this()
 {
     Name     = name;
     UserType = userType;
 }
 partial void OnUserTypeChanging(UserType value);