常用方法
常用方法
常用方法
常用方法
public ActionResult <IEnumerable <WorkOrderTaskView> > GetAllTasks() { try { var tasks = db.SelectAllTasks(); return(tasks.ToList()); } catch (Exception ex) { throw ex; } }
public ActionResult <IEnumerable <WorkOrderTaskView> > GetAllTasks() { try { var tasks = db.SelectAllTasks(); return(tasks.ToList()); } catch (Exception ex) { throw ex; } }