Example #1
0
        public async Task <List <DbRecord> > GetRecords()
        {
            /*
             * var output = _sql.LoadData<DbRecord, dynamic>("dbo.spRecords_GetAll", new { }, "IzmainasDB");
             * return output;
             */

            var output = await _mySql.LoadData <DbRecord, dynamic>("spRecords_GetAll", new { }, "Default");

            return(output);
        }
Example #2
0
        public async Task <List <DbEmailModel> > GetEmails()
        {
            /*
             * var output = _sql.LoadData<DbEmailModel, dynamic>("dbo.spEmails_GetAll", new { }, "IzmainasDB");
             * return output;
             */

            var output = await _mySql.LoadData <DbEmailModel, dynamic>("spEmails_GetAll", new { }, "Default");

            return(output);
        }
Example #3
0
        public async Task <List <DbEmailTempModel> > GetTempEmails()
        {
            var output = await _mySql.LoadData <DbEmailTempModel, dynamic>("spEmailsTemp_GetAll", new { }, "Default");

            return(output);
        }