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