Exemplo n.º 1
0
        public IEnumerable <HouseHold> Get()
        {
            var rawData = _context.CallPostgresFunction("getallhouseholddata");

            return((List <HouseHold>)JsonConvert.DeserializeObject(rawData, typeof(List <HouseHold>)));
        }
Exemplo n.º 2
0
        public IEnumerable <History> Get()
        {
            var rawData = _context.CallPostgresFunction("getallbankaccounthistory");

            return((List <History>)JsonConvert.DeserializeObject(rawData, typeof(List <History>)));
        }
Exemplo n.º 3
0
        public IEnumerable <FPUser> Get()
        {
            var rawData = _context.CallPostgresFunction("getalluserdata");

            return((List <FPUser>)JsonConvert.DeserializeObject(rawData, typeof(List <FPUser>)));
        }
        public IEnumerable <Notification> Get()
        {
            var rawData = _context.CallPostgresFunction("getallnotificationdata");

            return((List <Notification>)JsonConvert.DeserializeObject(rawData, typeof(List <Notification>)));
        }
        public IEnumerable <CategoryItem> Get()
        {
            var rawData = _context.CallPostgresFunction("getallcategoryitemdata");

            return((List <CategoryItem>)JsonConvert.DeserializeObject(rawData, typeof(List <CategoryItem>)));
        }