コード例 #1
0
        public async Task <JsonResult> Delete(Guid id)
        {
            var result = await _productSevice.Delete(id);

            if (result)
            {
                return(Json(new {
                    status = result
                }));
            }

            return(Json(new
            {
                status = result
            }));
        }