public static int AddRequestBusiness(ApplicationFormEntity entity) { if (entity.APPTEACHERID != null && entity.APPCOURSEID != null) { return(CourseDAL.AddRequest(entity)); } return(-1); }