public virtual JsonNetResult Add(ReceiptHeader model)
        {
            ViewModelBase <ReceiptViewModel> viewModel;

            if (!ValidateModelState(ModelState, out viewModel))
            {
                return(JsonNet(viewModel));
            }

            try
            {
                var receiptAdded = ControllerInternal.Add(model);
                return(JsonNet(receiptAdded));
            }

            catch (BusinessException businessException)
            {
                return
                    (JsonNet(BuildErrorModelBase(CommonResx.AddFailedMessage, businessException, ReceiptHeaderResx.Receipts)));
            }
        }