Beispiel #1
0
        static BaseGenericModelResponse <string> Message()
        {
            var result = new BaseGenericModelResponse <string>();

            result.Status = true;
            result.Data   = "Message";
            return(result);
        }
Beispiel #2
0
        static BaseGenericModelResponse <int> Sum()
        {
            var result = new BaseGenericModelResponse <int>();

            result.Data   = 10;
            result.Status = true;
            return(result);
        }