/// <summary> /// One-argument constructor initializing the diet repository /// </summary> /// <param name="dietRepo">the given value for the diet repo</param> public DietSocket(IDietRepo dietRepo) { this.dietRepo = dietRepo; }
public DietController(IDietRepo context) { _context = context; }