예제 #1
0
 public FileDescription AddFileDescription(string documentsGroup, FileDescription fileDescription) =>
 ExecuteWithTryCatch <FileDescription, WCFServiceRegistrar>(() =>
                                                            ServiceRegistrar.AddFileDescription(documentsGroup, fileDescription),
                                                            new LogShortMessage("Ошибка вызова метода. Метод: {methodName}, groupName: {documentsGroup}" +
                                                                                " fileDescription: {fileDescription}.",
                                                                                "AddFileDescription", documentsGroup, fileDescription));