public bool CanRemoveResource(int id)
 {
     return(_ResourceRepository.CanRemoveResource(DataContext, id));
 }