Table of Contents

Class IncidentExtensions

Namespace
Lers.Http
Assembly
Lers.System.dll

Содержит методы расширения для работы с нештатными ситуациями.

public static class IncidentExtensions
Inheritance
IncidentExtensions
Inherited Members

Methods

DeleteIncident(RestClient, int)

Удаляет нештатную ситуацию с указанным идентификатором.

public static Task DeleteIncident(this RestClient client, int incidentId)

Parameters

client RestClient
incidentId int

Returns

Task

GetIncidentById(RestClient, int)

Возвращает параметры нештатной ситуации по идентификатору.

public static Task<IncidentGetResponseParameters> GetIncidentById(this RestClient client, int id)

Parameters

client RestClient
id int

Returns

Task<IncidentGetResponseParameters>