Initial replacement of old repository.

This commit is contained in:
Simon Martens
2021-09-15 13:31:10 +02:00
commit 3125edf027
222 changed files with 582725 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
using System;
using HaDocument.Models;
using System.Collections.Generic;
namespace HaDocument.Comparers {
public class PersonComparer : IComparer<Person> {
public int Compare(Person first, Person second) {
var cmp = String.Compare(first.Surname, second.Surname);
if (cmp == 0) cmp = String.Compare(first.Name, second.Name);
return cmp;
}
}
}