basic profile info endpoints created
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WatchIt.Common.Model.Accounts;
|
||||
|
||||
public class AccountRequest : Account
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
[JsonPropertyName("gender_id")]
|
||||
public short GenderId { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region PUBLIC METHODS
|
||||
|
||||
public void UpdateAccount(Database.Model.Account.Account account)
|
||||
{
|
||||
account.Username = Username;
|
||||
account.Email = Email;
|
||||
account.Description = Description;
|
||||
account.GenderId = GenderId;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user