public async Task <IHttpActionResult> Remove(String idStr)
        {
            Guid id     = Guid.Parse(idStr);
            var  result = await CommOpcUaBusinessNodeMapContract.DeleteCommOpcUaBusinessNodeMaps(id);

            return(Json(result));
        }
        public async Task <IHttpActionResult> Setting(params CommOpcUaBusinessManageInputDto[] inputDto)
        {
            inputDto?.ToList().ForEach((a) =>
            {
                a.Id                = CombHelper.NewComb();
                a.CreatorUserId     = User.Identity.Name;
                a.CreatedTime       = DateTime.Now;
                a.LastUpdatedTime   = a.CreatedTime;
                a.LastUpdatorUserId = a.CreatorUserId;
            });
            var result = await CommOpcUaBusinessNodeMapContract.Setting(inputDto);

            return(Json(result));
        }
        public async Task <IHttpActionResult> Update(CommOpcUaBusinessNodeMapInputDto inputDto)
        {
            var result = await CommOpcUaBusinessNodeMapContract.EditCommOpcUaBusinessNodeMaps(inputDto);

            return(Json(result));
        }