public List <Profile> GetAllProfile() { return(_profileManager.GetAll()); }
public async Task <ActionResult <ApiResult <List <Profile> > > > GetAll() { return(ReturnResponse(() => _profile.GetAll())); }
private void UpdateProfilesInView() { var profiles = _profileManager.GetAll().Select(profile => profile.Name); View.Profiles = profiles; }