public void Add(Establishment establishment) { establishment.GlobalId = Guid.NewGuid(); establishment.CreationUser = System.Security.Principal.WindowsIdentity.GetCurrent().Name; establishment.CreationDate = DateTime.UtcNow; _establishmentRepository.Add(establishment); }