public ActionResult Delete(ProfileGroup profile)
 {
     _profileGroupRepository.Delete(profile.Id);
     return(RedirectToAction("Index"));
 }
 public void Delete(Guid id)
 {
     _internalRepository.Delete(id);
     _lazyCache.ClearProfileGroups();
 }