
ControllerActionInvoker.Rethrow(ActionExecutedContext context) HandleNonSuccessAndDebuggerNotification(Task task) Execute(object target, Object parameters) Lambda_method(Closure, object, Object ) LinqOperatorProvider+ExceptionInterceptor+EnumeratorExceptionInterceptor.MoveNext()

QueryingEnumerable+Enumerator.MoveNext() QueryingEnumerable+Enumerator.BufferlessMoveNext(bool buffer) ReplicationManager.IsReplicationGroup(string groupName) TypeInitializationException: The type initializer for '.ReplicationManager' threw an exception. TypeInitializationException: The type initializer for '' threw an exception. String.Substring(int startIndex, int length) Где я изменил методы get для поиска на DB.Īn unhandled exception occurred while processing the request.ĪrgumentOutOfRangeException: Length cannot be less than zero. Public UserController(CollectionsCatalogContex context) Private readonly CollectionsCatalogContex context

Namespace WEB_API_DOT_NET_CORE.Controllers

Public void ConfigureServices(IServiceCollection services) Use this method to add services to the container. This method gets called by the runtime. Public CollectionsCatalogContex(DbContextOptions options): base(options) Public class CollectionsCatalogContex: DbContext
