static TaskRepository ()
		{
			me = new TaskRepository();
		}
Beispiel #2
0
 public static int DeleteTask(int id)
 {
     return(TaskRepository.DeleteTask(id));
 }
Beispiel #3
0
 public static int SaveTask(Task item)
 {
     return(TaskRepository.SaveTask(item));
 }
Beispiel #4
0
 public static IList <Task> GetTasks()
 {
     return(new List <Task>(TaskRepository.GetTasks()));
 }
Beispiel #5
0
 public static Task GetTask(int id)
 {
     return(TaskRepository.GetTask(id));
 }
Beispiel #6
0
 static TaskRepository()
 {
     me = new TaskRepository();
 }