public JsonResult GetDashBoardData(int associateId) { var model = timesheetService.GetDashBoardData(associateId); return(Json(model)); }
public JsonResult GetDashBoardData(int currentUserId) { var model = timesheetService.GetDashBoardData(currentUserId); return(Json(model, JsonRequestBehavior.AllowGet)); }