chore: cleanup
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
using Grpc.Core;
|
||||
using JOBot.Backend.DAL.Context;
|
||||
using JOBot.Backend.DAL.Models;
|
||||
@@ -11,7 +10,7 @@ namespace JOBot.Backend.Services.gRPC;
|
||||
public class UserService(AppDbContext dbContext, HeadHunterService hhService) : Proto.User.UserBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Create user
|
||||
/// Create user
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="_"></param>
|
||||
@@ -32,7 +31,7 @@ public class UserService(AppDbContext dbContext, HeadHunterService hhService) :
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get user for client
|
||||
/// Get user for client
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="_"></param>
|
||||
@@ -46,7 +45,7 @@ public class UserService(AppDbContext dbContext, HeadHunterService hhService) :
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Accept EULA for user
|
||||
/// Accept EULA for user
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="_"></param>
|
||||
@@ -64,7 +63,7 @@ public class UserService(AppDbContext dbContext, HeadHunterService hhService) :
|
||||
}
|
||||
|
||||
public override Task<GetHeadHunterAuthHookResponse> GetHeadHunterAuthHook(
|
||||
GetHeadHunterAuthHookRequest request,
|
||||
GetHeadHunterAuthHookRequest request,
|
||||
ServerCallContext context)
|
||||
{
|
||||
return Task.Run(() => new GetHeadHunterAuthHookResponse
|
||||
@@ -74,7 +73,7 @@ public class UserService(AppDbContext dbContext, HeadHunterService hhService) :
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Throw RPCException if user not found
|
||||
/// Throw RPCException if user not found
|
||||
/// </summary>
|
||||
/// <param name="user"></param>
|
||||
/// <exception cref="RpcException"></exception>
|
||||
|
||||
Reference in New Issue
Block a user