
* Moved UpdateRelatedSeries from controller to SeriesService.cs * Added 2 tests. - UpdateRelatedSeries_ShouldDeletePrequelRelation - UpdateRelatedSeries_ShouldNotAllowDuplicates * Some docs and codestyle nitpicks * Simplified tests and made easier to read * Added 'Editions' series relation * Missing code to properly show the relations in the UI * Create Service for GetRelatedServices * Added unit test. Assert Edition, Prequel and Sequel do not return parent while others do * fixed missing userRating * Add requested changes: - Rename one test - Split one test into two tests
20 lines
719 B
C#
20 lines
719 B
C#
using System.Collections.Generic;
|
|
|
|
namespace API.DTOs.SeriesDetail;
|
|
|
|
public class UpdateRelatedSeriesDto
|
|
{
|
|
public int SeriesId { get; set; }
|
|
public IList<int> Adaptations { get; set; }
|
|
public IList<int> Characters { get; set; }
|
|
public IList<int> Contains { get; set; }
|
|
public IList<int> Others { get; set; }
|
|
public IList<int> Prequels { get; set; }
|
|
public IList<int> Sequels { get; set; }
|
|
public IList<int> SideStories { get; set; }
|
|
public IList<int> SpinOffs { get; set; }
|
|
public IList<int> AlternativeSettings { get; set; }
|
|
public IList<int> AlternativeVersions { get; set; }
|
|
public IList<int> Doujinshis { get; set; }
|
|
public IList<int> Editions { get; set; }
|
|
}
|