예제 #1
0
        public JsonResult DeletePackingList(Guid packingListId)
        {
            var result = new OperationResult();

            result = _packingListRepository.DeletePackingList(packingListId);

            if (!result.Success)
            {
                this.AddNotification(result.Message, NotificationType.ERROR);
            }

            return(Json(result, JsonRequestBehavior.AllowGet));
        }