Ejemplo n.º 1
0
        /*TODO*/
        public List <RoutineModel> getMostRecentRoutineModels(string creatorUsername)
        {
            return(ModelCopier.copyRoutinesToModels(getMostRecentRoutines(creatorUsername)));

            /*List<RoutineModel> lst = new List<RoutineModel>();
             *
             * foreach (Routine r in getMostRecentRoutines(creatorUsername))
             *  lst.Add(ModelCopier.copyRoutineToModel(r));
             *
             * return lst;*/
        }
Ejemplo n.º 2
0
 /*TODO*/
 public List <RoutineModel> getMostRecentRoutineModelsAssignedTo(string creatorUsername, string assigneeUsername)
 {
     return(ModelCopier.copyRoutinesToModels(getMostRecentRoutinesAssignedTo(creatorUsername, assigneeUsername)));
 }
Ejemplo n.º 3
0
 /* Returns a list of all routines created by the
  * given user in model format.
  * @param creatorUsername: The username of the
  * user who created the routine.
  */
 public List <RoutineModel> getRoutineModels(string creatorUsername)
 {
     return(ModelCopier.copyRoutinesToModels(getRoutines(creatorUsername)));
 }