Skip to content

Commit

Permalink
Remove obsolete api usage
Browse files Browse the repository at this point in the history
  • Loading branch information
georg-jung committed Feb 5, 2025
1 parent d720cf8 commit c7ddfe7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions WoL/Data/IHostService.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using WoL.Models;

Expand Down Expand Up @@ -30,10 +29,6 @@ public DuplicateEntryException(string message, Exception innerException) : base(
{
}

protected DuplicateEntryException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}

private static string CreateMessage(string field, string value) =>
$"A host entry with {field} '{value}' does already exist.";

Expand Down

0 comments on commit c7ddfe7

Please sign in to comment.