❔ REST and Subresourses
I have two next entities
class Note{
public int Id {get;set}
public string Content
public int NotebookId {get;set}
public Notebook {get;set}
}
class Notebook{
public int Id {get;set}
public List<Note> Notes {get;set}
}
If I want to change some Note Content, how should the URL look like?
class Note{
public int Id {get;set}
public string Content
public int NotebookId {get;set}
public Notebook {get;set}
}
class Notebook{
public int Id {get;set}
public List<Note> Notes {get;set}
}
If I want to change some Note Content, how should the URL look like?
