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