After doing testing with a test project, re-organized code to new method of storing, as well as ensure that all Endpoint lambda's are separated out into functions. Large commit, will be testing.
13 lines
No EOL
394 B
C#
13 lines
No EOL
394 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace FreeTubeSync.Model;
|
|
|
|
public class Profile
|
|
{
|
|
[Key]
|
|
public string _id { get; set; } = string.Empty;
|
|
public string name { get; set; } = string.Empty;
|
|
public string bgColor { get; set; } = string.Empty;
|
|
public string textColor { get; set; } = string.Empty;
|
|
public List<Subscription> subscriptions { get; set; } = [];
|
|
} |