Добавьте файлы проекта.
This commit is contained in:
15
SvetoforVKBot/Models/Commands/LK/Reports/CompareReport.cs
Normal file
15
SvetoforVKBot/Models/Commands/LK/Reports/CompareReport.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace SvetoforVKBot.Data
|
||||
{
|
||||
public partial class Reports : IComparable<Reports>
|
||||
{
|
||||
public int CompareTo(Reports other) // Сделаем сравнение по максимальному id
|
||||
{
|
||||
return (id < other.id) ? -1 : (id > other.id) ? 1 : 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user