Initial commit

This commit is contained in:
2021-06-15 10:59:47 +02:00
commit 8e156ba356
65 changed files with 1786 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
namespace GerstITS.Examples.WebClients.Examples.Api
{
public class Country
{
#region Properties
public int Id { get; set; }
public string Name { get; set; }
#endregion
}
}

View File

@@ -0,0 +1,18 @@
namespace GerstITS.Examples.WebClients.Examples.Api
{
public class SearchCriteria
{
#region Properties
internal int Id { get; set; }
public string Name { get; set; }
public int? Skip { get; set; }
public int? Take { get; set; }
public string SortBy { get; set; }
public SortingDirections SortDirection { get; set; }
#endregion
}
}

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
namespace GerstITS.Examples.WebClients.Examples.Api
{
public class SearchResult<TItem>
{
#region Properties
public int TotalCount { get; set; }
public IEnumerable<TItem> Result { get; set; }
#endregion
#region Constructors
public SearchResult()
{
Result = Array.Empty<TItem>();
}
#endregion
}
}

View File

@@ -0,0 +1,8 @@
namespace GerstITS.Examples.WebClients.Examples.Api
{
public enum SortingDirections
{
Ascending = 0,
Descending
}
}