public Entries FindLastEntry(int Id) { var con = new WorkoutContext(); var qry = from e in con.entry where e.Workout_id == Id && e.entry_status == "inprogress" select e; return(qry.First()); }
public WorkoutRepository() { ObjContext = new WorkoutContext(); }
public EntryRepository() { Context = new WorkoutContext(); }