public void Generate(EggsDTO eggs) { _repository.Create( new Entities.Eggs(eggs.Type, eggs.Quantity)); }