Esempio n. 1
0
        public async Task <T> FindByNameAsync(string roleName)
        {
            if (string.IsNullOrEmpty(roleName))
            {
                throw new ArgumentNullException("roleName", "Parameter roleName cannot be null or empty.");
            }

            return(await _roleTable.FindRoleByNameAsync(roleName));
        }