Exemple #1
0
        public JsonResult AcceptGRN(int?GRNId)
        {
            int id = 0;

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