public UserType SecondUserType() { var secondUserType = new UserType { UserTypeId = 2, UserTypeValue = UserTypes.Values.Client.ToString() }; return secondUserType; }
public UserType FirstUserType() { var firstUserType = new UserType { UserTypeId = 1, UserTypeValue = UserTypes.Values.Cooker.ToString() }; return firstUserType; }
partial void OnUserTypeChanging(UserType value);
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; }
public User (string name, UserType userType) : this() { Name = name; UserType = userType; }
public int Save(UserType _object) { int _returnValue = base.Save <UserType>("spAddEditUserType", _object); return(_returnValue); }
public User(string name, UserType userType) : this() { Name = name; UserType = userType; }