Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public void FindRelated(IDbConnection connection, CommandProvider <int> commandProvider, IUser user = null, IEnumerable <Claim> claims = null)
 {
     OptionType = commandProvider.Find <OptionType>(connection, TypeId);
 }