Beispiel #1
0
 public async Task FindRelatedAsync(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null)
 {
     OptionType = await commandProvider.FindAsync <OptionType>(connection, TypeId);
 }
Beispiel #2
0
 public void FindRelated(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null)
 {
     OptionType = commandProvider.Find <OptionType>(connection, TypeId);
 }