public async Task <int> SaveAutoAsync(Auto auto) { string sql = AutoStoredProceduresNames.QueryToSaveAuto; return(await Task.Run(() => _sqlServerDataModification.SaveData(sql, auto))); }
public async Task <int> StoreCustomerDataAsync(Customer custObj) { string sql = SaleStoredProcedureNames.StoreCustomerInformation; return(await Task.Run(() => _sqlServerDataModification.SaveData <Customer>(sql, custObj))); }