Example #1
0
        /// <summary>
        /// 插入数据
        /// </summary>
        /// <param name="model"></param>
        public void Post(progress_noteEntity model)
        {
            progress_noteService service = new progress_noteService();

            service.SaveEntity(model.ID, model);
        }
Example #2
0
        /// <summary>
        /// 更新数据,幂等
        /// </summary>
        /// <param name="key"></param>
        /// <param name="model"></param>
        public void Put([FromODataUri] string key, progress_noteEntity model)
        {
            progress_noteService service = new progress_noteService();

            service.UpdateEntity(model);
        }