示例#1
0
        public HttpResponseMessage GetAllTodo()
        {
            var todos = _todoDal.GetAll();
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, todos);

            return(response);
        }
示例#2
0
 public IEnumerable <Todo> GetAll()
 {
     return(_todoDal.GetAll());
 }
        }   //DataBase Daxilinde Data Sayi Qaytarir

        public List <TodoEntity> GetAll()
        {
            return(_todoDal.GetAll());
        }   //Virtual DataBase List Qaytarir
示例#4
0
 public List <TodoEntity> GetAll()
 {
     return(_todoDal.GetAll());
 }
示例#5
0
 public IDataResult <List <Todo> > GetAll()
 {
     return(new SuccessDataResult <List <Todo> >(_todoDal.GetAll(), Messages.TodoListed));
 }