-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WatchList - Add window "AddCinemaWindow" and fixed bug. Incomplete implementation of the task functionality. * WatchList.WPF - Fixed bug and remove unused classes. * WatchItem.WPF - Moved properties from "CinemaModel" to "AddCinemaViewModel". * WatchList.WPF - Implemented the ability to add an item.
- Loading branch information
1 parent
7eb8b8c
commit 554fd39
Showing
23 changed files
with
504 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
WatchList.WPF/Models/ModelDataLoad/LoadModel/ModelDownloadMoreGrade.cs
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
WatchList.WPF/Models/ModelDataLoad/LoadModel/ModelTypeCinemaUpload.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using WatchList.Core.Model.ItemCinema; | ||
using WatchList.Core.Model.ItemCinema.Components; | ||
|
||
namespace WatchList.WPF.Models | ||
{ | ||
public class WatchItemCreator | ||
{ | ||
public WatchItemCreator() | ||
{ | ||
} | ||
|
||
public WatchItem CreateNonPlanned( | ||
string title, | ||
int sequel, | ||
StatusCinema status, | ||
TypeCinema type, | ||
DateTime? date = null, | ||
int? grade = null, | ||
Guid? id = null) | ||
=> new WatchItem(title, sequel, status, type, id, date, grade); | ||
|
||
public WatchItem CreatePlanned( | ||
string title, | ||
int sequel, | ||
StatusCinema status, | ||
TypeCinema type, | ||
Guid? id) | ||
=> new WatchItem(title, sequel, status, type, id, null, null); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.