Exemplo n.º 1
0
        public IHttpActionResult GetByHasNotWorker()
        {
            List <Project> projects = projectDal.GetByHasNotWorker();

            if (projects != null)
            {
                return(Ok(projects));
            }
            else
            {
                return(NotFound());
            }
        }
Exemplo n.º 2
0
        public ActionResult Index()
        {
            List <Project> projects = _projectDal.GetByHasNotWorker();

            return(View(projects));
        }