Exemple #1
0
        public ActionResult MoveToRecyle(List <String> senids)
        {
            var result = _sendService.MoveToRecyle(senids);

            if (result.Success)
            {
                return(Json(new { result = result.Message }, JsonRequestBehavior.AllowGet));
            }

            throw new InvalidOperationException($"{result.Message} is not Create.");
        }