Esempio n. 1
0
        public Dictionary <string, object> GetResultFormatterOk()
        {
            var data = GetNewData();

            Dictionary <string, object> result =
                new resultFormatterForTest("1.0", General.OK_STATUS_CODE, General.OK_MESSAGE)
                .Ok(data);

            return(result);
        }
Esempio n. 2
0
        public Dictionary <string, object> GetMultipleResultFormatterOk()
        {
            var data = new List <PurchasingDispositionExpeditionViewModel> {
                GetNewData()
            };

            Dictionary <string, object> result =
                new resultFormatterForTest("1.0", General.OK_STATUS_CODE, General.OK_MESSAGE)
                .Ok(data);

            return(result);
        }