diff --git a/README.md b/README.md index f115734..d6012b4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +![Visual Studio Team services](https://img.shields.io/vso/build/gwinn/f01d2ec1-f511-4908-8c02-d48757d71370/3.svg?style=flat-square [![NuGet](https://img.shields.io/nuget/v/Retailcrm.SDK.svg)](https://www.nuget.org/packages/Retailcrm.SDK/) diff --git a/Retailcrm/Versions/V5/References.cs b/Retailcrm/Versions/V5/References.cs index 9a23f47..fd5a5d3 100644 --- a/Retailcrm/Versions/V5/References.cs +++ b/Retailcrm/Versions/V5/References.cs @@ -154,6 +154,10 @@ namespace Retailcrm.Versions.V5 ); } + /// + /// Couriers list + /// + /// public Response Couriers() { return Request.MakeRequest( @@ -162,6 +166,11 @@ namespace Retailcrm.Versions.V5 ); } + /// + /// Create a courier + /// + /// + /// public Response CouriersCreate(Dictionary courier) { return Request.MakeRequest( @@ -174,6 +183,11 @@ namespace Retailcrm.Versions.V5 ); } + /// + /// Edit a courier + /// + /// + /// public Response CouriersEdit(Dictionary courier) { if (!courier.ContainsKey("id")) diff --git a/RetailcrmUnitTest/RetailcrmUnitTest.csproj b/RetailcrmUnitTest/RetailcrmUnitTest.csproj index d6132f2..da35e67 100644 --- a/RetailcrmUnitTest/RetailcrmUnitTest.csproj +++ b/RetailcrmUnitTest/RetailcrmUnitTest.csproj @@ -1,6 +1,6 @@  - + Debug AnyCPU @@ -39,10 +39,10 @@ - ..\packages\MSTest.TestFramework.1.1.18\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\packages\MSTest.TestFramework.1.2.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\packages\MSTest.TestFramework.1.1.18\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\packages\MSTest.TestFramework.1.2.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll @@ -80,25 +80,23 @@ - - - Designer - - {9c378ef4-9f9b-4214-a9aa-1fc3c44edb41} Retailcrm + + + Данный проект ссылается на пакеты NuGet, отсутствующие на этом компьютере. Используйте восстановление пакетов NuGet, чтобы скачать их. Дополнительную информацию см. по адресу: http://go.microsoft.com/fwlink/?LinkID=322105. Отсутствует следующий файл: {0}. - - + + - + \ No newline at end of file diff --git a/RetailcrmUnitTest/V4/StoresTest.cs b/RetailcrmUnitTest/V4/StoresTest.cs index fd98a7f..5bddc64 100644 --- a/RetailcrmUnitTest/V4/StoresTest.cs +++ b/RetailcrmUnitTest/V4/StoresTest.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Specialized; using Microsoft.VisualStudio.TestTools.UnitTesting; using Retailcrm; using Retailcrm.Versions.V4; @@ -10,7 +9,6 @@ namespace RetailcrmUnitTest.V4 public class StoresTest { private readonly Client _client; - private readonly NameValueCollection _appSettings; public StoresTest() { diff --git a/RetailcrmUnitTest/packages.config b/RetailcrmUnitTest/packages.config index fc2bbdd..03805ce 100644 --- a/RetailcrmUnitTest/packages.config +++ b/RetailcrmUnitTest/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file