Пример #1
0
 public async Task <SellPoint[]> GetSellPointsAsync(DateTime dateFrom, DateTime dateTo, string[] organizations) =>
 await ExecuteWithTryCatchAsync <SellPoint[], WCFServiceRegistrar>(() =>
                                                                   ServiceRegistrar.GetSellPointsAsync(dateFrom, dateTo, organizations),
                                                                   new LogShortMessage("Ошибка вызова метода. Метод: {methodName}, dateFrom: {dateFrom}," +
                                                                                       " dateTo: {dateTo}, organizations: {organizations}.",
                                                                                       "GetSellPointsAsync", dateFrom, dateTo, organizations));