public ActionResult getEmployees()
    {
        PaylocityDBContext dbContext = new PaylocityDBContext();
        EmployeeModel      data      = dbContext.retrieveEmployeesFromDB();

        return(Json(data, JsonRequestBehavior.AllowGet));
    }
예제 #2
0
    public ActionResult getCost()
    {
        PaylocityDBContext dbContext = new PaylocityDBContext();

        // save employees and calculate cost or only run cost on front end
        // decision to be made
        return(Json(0, JsonRequestBehavior.AllowGet));
    }