예제 #1
0
        public IActionResult UpdInformationsheet(Informationsheet i)
        {
            int h;

            try
            {
                h = bll.UpdInformationsheet(i);
            }
            catch (Exception ex)
            {
                log.Error(ex.Message);
                throw;
            }

            return(Ok(new { state = h > 0 ? true : false, msg = h > 0 ? "修改成功" : "修改失败" }));
        }