private WeightTransactionCrudService SetUpService(LivestockContext context) { context.SeedTestAnimal(TestConstants.AnimalId1); context.SeedTestAnimal(TestConstants.AnimalId2); context.SeedWeightTransaction(TestConstants.AnimalId1); context.SaveChanges(); return(new WeightTransactionCrudService(_logger, context)); }