From 34305283aca89b8b2ebacd26ad3faf859a6a78b0 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 25 Mar 2022 20:20:47 +0800 Subject: … MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Timeline/Services/User/IBasicUserService.cs | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 BackEnd/Timeline/Services/User/IBasicUserService.cs (limited to 'BackEnd/Timeline/Services/User/IBasicUserService.cs') diff --git a/BackEnd/Timeline/Services/User/IBasicUserService.cs b/BackEnd/Timeline/Services/User/IBasicUserService.cs deleted file mode 100644 index 0ae3fdff..00000000 --- a/BackEnd/Timeline/Services/User/IBasicUserService.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Threading.Tasks; - -namespace Timeline.Services.User -{ - /// - /// This service provide some basic user features, which should be used internally for other services. - /// - public interface IBasicUserService - { - /// - /// Check if a user exists. - /// - /// The id of the user. - /// True if exists. Otherwise false. - Task CheckUserExistenceAsync(long id); - - /// - /// Get the user id of given username. - /// - /// Username of the user. - /// The id of the user. - /// Thrown when is null. - /// Thrown when is of bad format. - /// Thrown when the user with given username does not exist. - Task GetUserIdByUsernameAsync(string username); - - /// - /// Get the username modified time of a user. - /// - /// User id. - /// The time. - /// Thrown when user does not exist. - Task GetUsernameLastModifiedTimeAsync(long userId); - } -} -- cgit v1.2.3