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); }
public UpdateEnvironmentCommand(UpdateEnvironmentDto updateEnvironment) { UpdateEnvironment = updateEnvironment; }