private void UpdateEnvironment(Domain.Entities.Environment environmentEntity, UpdateEnvironmentDto environment)
 {
     environmentEntity.Name        = environment.Name;
     environmentEntity.Description = environment.Description;
     environmentEntity.IsActive    = environment.IsActive;
     environmentEntity.Url         = environment.Url;
     _context.Environments.Update(environmentEntity);
 }
Пример #2
0
 public UpdateEnvironmentCommand(UpdateEnvironmentDto updateEnvironment)
 {
     UpdateEnvironment = updateEnvironment;
 }