Ejemplo n.º 1
0
        public AccountResult GetById(int id)
        {
            var result = _storedProcedure.QueryFirstAsync <AccountGetFirstSchema, AccountResult>(
                new AccountGetFirstSchema {
                Id = id
            }).GetAwaiter().GetResult();

            return(result);
        }
        public async Task <AccountDeviceResult> FirstAsync(AccountDeviceGetFirstSchema accountDevice)
        {
            var result = await _storedProcedure.QueryFirstAsync <AccountDeviceGetFirstSchema, AccountDeviceResult>(accountDevice);

            return(result);
        }
Ejemplo n.º 3
0
        public async Task <ClipboardResult> FirstAsync(ClipboardGetFirstSchema clipboard)
        {
            var result = await _storedProcedure.QueryFirstAsync <ClipboardGetFirstSchema, ClipboardResult>(clipboard);

            return(result);
        }