Moved unused code into Achive

This commit is contained in:
Simon Martens
2022-11-25 19:15:23 +01:00
parent 5cc684550b
commit 02abfb111a
239 changed files with 51948 additions and 1673 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;
}
}
}