Exemple #1
0
        public Task <bool> EntitySearchItemUpdate(string entitySearchGroupId, string entitySearchItemId, string name, string description, string id)
        {
            log.LogEverything("Communicator.EntitySearchItemUpdate", "called");
            log.LogVariable("Communicator.EntitySearchItemUpdate", nameof(entitySearchGroupId), entitySearchGroupId);
            log.LogVariable("Communicator.EntitySearchItemUpdate", nameof(entitySearchItemId), entitySearchItemId);
            log.LogVariable("Communicator.EntitySearchItemUpdate", nameof(name), name);
            log.LogVariable("Communicator.EntitySearchItemUpdate", nameof(id), id);
            log.LogVariable("Communicator.EntitySearchItemUpdate", nameof(description), description);

            return(http.EntitySearchItemUpdate(entitySearchGroupId, entitySearchItemId, name, description, id));
        }
        public bool EntitySearchItemUpdate(string entitySearchGroupId, string entitySearchItemId, string name, string description, string id)
        {
            log.LogEverything("Not Specified", t.GetMethodName() + " called");
            log.LogVariable("Not Specified", nameof(entitySearchGroupId), entitySearchGroupId);
            log.LogVariable("Not Specified", nameof(entitySearchItemId), entitySearchItemId);
            log.LogVariable("Not Specified", nameof(name), name);
            log.LogVariable("Not Specified", nameof(id), id);
            log.LogVariable("Not Specified", nameof(description), description);

            try
            {
                return(http.EntitySearchItemUpdate(entitySearchGroupId, entitySearchItemId, name, description, id));
            }
            catch (Exception ex)
            {
                throw new Exception("EntitySearchItemUpdate failed", ex);
            }
        }