Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Tor Hovland Can now update user settings. b911bff Mar 27, 2018
0 contributors

Users who have contributed to this file

28 lines (24 sloc) 676 Bytes
using System;
namespace BlazorRealworld.Model
{
public class UserModel
{
public string email { get; set; }
public string username { get; set; }
public string bio { get; set; }
public string image { get; set; }
public string token { get; set; }
public string password { get; set; }
public UserModel Clone()
{
return new UserModel
{
// Password and token will not be cloned.
email = email,
username = username,
bio = bio,
image = image
};
}
}
}
You can’t perform that action at this time.