public HttpResponseMessage GetAllTodo() { var todos = _todoDal.GetAll(); HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, todos); return(response); }
public IEnumerable <Todo> GetAll() { return(_todoDal.GetAll()); }
} //DataBase Daxilinde Data Sayi Qaytarir public List <TodoEntity> GetAll() { return(_todoDal.GetAll()); } //Virtual DataBase List Qaytarir
public List <TodoEntity> GetAll() { return(_todoDal.GetAll()); }
public IDataResult <List <Todo> > GetAll() { return(new SuccessDataResult <List <Todo> >(_todoDal.GetAll(), Messages.TodoListed)); }