init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,18 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Kreta.Ellenorzo.Domain.VN.Felhasznalo.Gondviselo;
|
||||
using Kreta.Ellenorzo.Domain.VN.Felhasznalo.Tanulo;
|
||||
using Kreta.Ellenorzo.Domain.VN.Utility;
|
||||
|
||||
namespace Kreta.Ellenorzo.Domain.VN.Converter
|
||||
{
|
||||
/// <summary>
|
||||
/// This registers the converter functions called ModelToModel, but it's not mandatory to do.
|
||||
/// </summary>
|
||||
public static class ResponseModelConverter
|
||||
{
|
||||
public static HashSet<GondviseloGetResponse> ModelToModel(IEnumerable<GondviseloResponse> model) => model.ConvertAll(ModelToModel).ToHashSet();
|
||||
|
||||
private static GondviseloGetResponse ModelToModel(GondviseloResponse model) => (GondviseloGetResponse)model;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue