예제 #1
0
        public IHttpActionResult GetConfirmedByWorker(int ownerId)
        {
            List <Project> projects = projectDal.GetConfirmedByWorker(ownerId);

            if (projects != null)
            {
                return(Ok(projects));
            }
            else
            {
                return(NotFound());
            }
        }