Daten in Wunsch- und Bilddatenbanken speichern
This commit is contained in:
@ -20,7 +20,7 @@ public class SqlDataAccess : ISqlDataAccess
|
||||
|
||||
return await connection.QueryAsync<T>(storedProcedure, parameters, commandType: CommandType.StoredProcedure);
|
||||
}
|
||||
|
||||
|
||||
public async Task SaveData<T>(string storedProcedure, T parameters, string connectionId = "Default")
|
||||
{
|
||||
using IDbConnection connection = new SqlConnection(_config.GetConnectionString(connectionId));
|
||||
|
||||
Reference in New Issue
Block a user