Open jcareyes opened 2 years ago
This comment outlines the action that can happen on the forms. Action are in response to the user interacting with the form, pressing button or controls.
PRG Post Redirect Get
- rule: all tracks require a re-sequence track number
- rule: track numbers must be greater than 0
- rule: track numbers must be unique
- rule: tracks numbers must not introduce holes
Track Selection for Artist or Album and Managing Specified Playlist
The data models are the C# classes that will be coded in the folder(ViewModels) that holds the data classes in our solution. These classes represent the query class models and the command class model (CQRS)
Artist and Album Track Fetch
public class TrackSelection
{
public int TrackID {get; set;}
public string SongName {get; set;}
public string AlbumTitle {get; set;}
public string ArtistName {get; set;}
public int Milliseconds {get; set;}
public decimal Price {get; set;}
}
public class PlaylistTrackInfo
{
public int TrackID {get; set;}
public int TrackNumber {get; set;}
public string SongName {get; set;}
public int Milliseconds {get; set;}
}
Colors Yellow: Data Coming In Green: Primary Keys being auto generated Blue: Program will be creating Red: Where it can be used
No model class, individual parameters
UserName and PlaylistName are individual parameters. Requires TrackID list in a List
(no data model)
public class PlaylistTrackMove
{
public int PlaylistTrackID {get; set;}
public int TrackID {get; set;}
public int TrackNumber {get; set;} // New Track #
}
This comment will describe the various methods that will be used for Commands (CQRS) that alter the database. Queries are read only and require on average no complex processing. However, commands require business rules validations and manipulations of one or more tables and/or records. Therefore, the processing of commands should be outlined.
Include the method signature and a bullet list of processes
This task list area will be completed once the implementation plan has been outlined. This area is where one created the task list that is associated with the milestone. The tasks that are outlined in this area, are the tasks that are counted for the milestone.