public AppUser FindByIdAppUser(int id) { try { AppUserRepository repository = new AppUserRepository(context); AppUser objectAppUser = repository.FindById(id); return(objectAppUser); } catch (Exception ex) { throw new Exception(ex.Message); } }