Ejemplo n.º 1
0
        public JsonResult AcceptRN(int?RNId)
        {
            int id = 0;

            try
            {
                if (RNId.HasValue || RNId.Value > 0)
                {
                    StoreService service = new StoreService();
                    id = service.AcceptRN(RNId);
                }
                return(Json(new { Status = true, Message = "Delete Success" }, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                return(Json(new { Status = false, Message = "Error Occured" }, JsonRequestBehavior.AllowGet));
            }
        }