Exemple #1
0
        /// <summary>
        /// 删除数据
        /// </summary>
        /// <returns>返回Json串</returns>
        public string Delete()
        {
            long id = Convert.ToInt64(System.Web.HttpContext.Current.Request.Params["id"]);              //主表主键

            var deletedresult = ExpenseMstService.Delete2(id);

            return(DataConverterHelper.SerializeObject(deletedresult));
        }
Exemple #2
0
        public string GetDelete([FromUri] long id)
        {
            var deletedresult = ExpenseMstService.Delete2(id);

            return(DataConverterHelper.SerializeObject(deletedresult));
        }