MvcApplication2.Models.User.CreateUser C# (CSharp) Method

CreateUser() public static method

Create a new User object.
public static CreateUser ( global username, global password, global id ) : User
username global Initial value of the username property.
password global Initial value of the password property.
id global Initial value of the id property.
return User
        public static User CreateUser(global::System.String username, global::System.String password, global::System.Int32 id)
        {
            User user = new User();
            user.username = username;
            user.password = password;
            user.id = id;
            return user;
        }