public static Guid GetApplicationUserId(string username)
 {
     Repository _repository = new Repository();
     return _repository.GetApplicationUserId(username);
 }