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