public ActionResult <IEnumerable <WorkOrderTaskView> > GetTasks(int id) { try { var tasks = db.SelectTasks(id); return(tasks.ToList()); } catch (Exception ex) { throw ex; } }
public ActionResult <IEnumerable <WorkOrderTaskView> > GetTasks(int id) { try { var tasks = db.SelectTasks(id); return(tasks.ToList()); } catch (Exception ex) { throw ex; } }