public void ProcessTriangle(int[] sides, TriangleType triangleType) { var stageItem = new TriangleStageItem { Sides = sides, Processed = false, TriangleType = triangleType }; _triangleStageRepository.StageItem(stageItem); }
public void StageItem(TriangleStageItem stageItem) { _context.TriangleStageItems.Add(stageItem); _context.SaveChanges(); }