public Information Execute(DeleteInformationCommand command)
        {
            Information information = _repository.GetById(command.Id);

            if (information.UserId != _httpRequest.UserId)
            {
                throw new NotAllowedOperationException();
            }

            _repository.Delete(information);

            return(information);
        }
 public void DeleteInformation(Guid informationId)
 {
     _informationRepository.Delete(informationId);
 }
 public void Delete(ThongTin thongTin)
 {
     _informationRepository.Delete(thongTin);
 }