Blog.Logic.Core.UsersLogic.GetByUserName C# (CSharp) Method

GetByUserName() public method

public GetByUserName ( string userName ) : User
userName string
return User
        public User GetByUserName(string userName)
        {
            try
            {
                return GetUser(null, userName);
            }
            catch (Exception ex)
            {
                throw new BlogException(ex.Message, ex.InnerException);
            }
        }