public IHttpActionResult GetConfirmedByWorker(int ownerId) { List <Project> projects = projectDal.GetConfirmedByWorker(ownerId); if (projects != null) { return(Ok(projects)); } else { return(NotFound()); } }
public IHttpActionResult GetConfirmedByWorker(int ownerId) { List <Project> projects = projectDal.GetConfirmedByWorker(ownerId); if (projects != null) { return(Ok(projects)); } else { return(NotFound()); } }