9329d76ab6
Extend logic of encpoints to provide more informative status codes on different scenarios (not found, bad request, etc). Update logging to write structured and informative logs
17 lines
612 B
C#
17 lines
612 B
C#
using DevOpsProject.CommunicationControl.Logic.Services;
|
|
using DevOpsProject.CommunicationControl.Logic.Services.Interfaces;
|
|
|
|
namespace DevOpsProject.CommunicationControl.API.DI
|
|
{
|
|
public static class LogicConfiguration
|
|
{
|
|
public static IServiceCollection AddCommunicationControlLogic(this IServiceCollection serviceCollection)
|
|
{
|
|
serviceCollection.AddTransient<ICommunicationControlService, CommunicationControlService>();
|
|
serviceCollection.AddTransient<ISpatialService, SpatialService>();
|
|
|
|
return serviceCollection;
|
|
}
|
|
}
|
|
}
|