public object Get(FB_Tasks request) { ApiUser hdUser = request.ApiUser; Instance_Config instanceConfig = new Models.Instance_Config(hdUser); int projectID = 0; if (!int.TryParse(request.project, out projectID)) { throw new HttpError(HttpStatusCode.NotFound, "incorrect project id"); } return(FBTasks.GetFBTasks(instanceConfig, request.page, request.limit, projectID)); }
public object Get(FB_Tasks request) { ApiUser hdUser = request.ApiUser; Instance_Config instanceConfig = new Models.Instance_Config(hdUser); int projectID = 0; if (!int.TryParse(request.project, out projectID)) { throw new HttpError(HttpStatusCode.NotFound, "incorrect project id"); } return FBTasks.GetFBTasks(instanceConfig, request.page, request.limit, projectID); }