Пример #1
0
 public Task SendOrganDataSnapshotAsync(OrganStateSnapshotModel model)
 {
     return(Url($"{ControllerPath}/AttachOrganDeliverySnapshot")
            .FormUrlEncoded()
            .Param(nameof(model.PatientRequestId), model.PatientRequestId.ToString())
            .Param(nameof(model.Altitude), model.Altitude.ToString())
            .Param(nameof(model.Longitude), model.Longitude.ToString())
            .Param(nameof(model.Temperature), model.Temperature.ToString(CultureInfo.InvariantCulture))
            .Param(nameof(model.Humidity), model.Humidity.ToString(CultureInfo.InvariantCulture))
            .Param(nameof(model.Time), model.Time.ToString())
            .PostAsync <ResponseWrapper>());
 }
 public Task SendOrganDataSnapshotAsync(OrganStateSnapshotModel model)
 {
     return(_requestRestApi.SendOrganDataSnapshotAsync(model));
 }