/// <summary> /// Get Monster that belongs to selected CustomLevel /// </summary> /// <param name="customLevelId"></param> /// <returns>Return Monster object</returns> public Monster GetCustomLevelMonster(int customLevelId) { CustomLevelDaoImpl customLevelDao = new CustomLevelDaoImpl(); return(customLevelDao.GetCustomLevelMonster(customLevelId)); }
/// <summary> /// Delete CustomLevel /// </summary> /// <param name="customLevelId"></param> /// <returns>Return 1 if delete query has executed successfully</returns> public int DeleteCustomLevel(int customLevelId) { CustomLevelDaoImpl customLevelDao = new CustomLevelDaoImpl(); return(customLevelDao.DeleteCustomLevel(customLevelId)); }
/// <summary> /// Get all of Student's CustomLevelScore /// </summary> /// <param name="studentId"></param> /// <returns>Return list of CustomLevelScore</returns> public List <CustomLevelScore> GetClearedCustomLevels(int studentId) { CustomLevelDaoImpl customLevelDao = new CustomLevelDaoImpl(); return(customLevelDao.GetClearedCustomLevels(studentId)); }
/// <summary> /// Get all Student's created CustomLevels /// </summary> /// <param name="studentId"></param> /// <returns>Return list of CustomLevel object</returns> public List <CustomLevel> GetStudentCustomLevel(int studentId) { CustomLevelDaoImpl customLevelDao = new CustomLevelDaoImpl(); return(customLevelDao.GetStudentCustomLevel(studentId)); }
/// <summary> /// Get all CustomLevels /// </summary> /// <returns>Return list of CustomLevel object</returns> public List <CustomLevel> GetCustomLevels() { CustomLevelDaoImpl customLevelDao = new CustomLevelDaoImpl(); return(customLevelDao.GetCustomLevels()); }
/// <summary> /// Get selected CustomLevel /// </summary> /// <param name="customLevelId"></param> /// <returns>Return CustomLevel object</returns> public CustomLevel GetCustomLevel(int customLevelId) { CustomLevelDaoImpl customLevelDao = new CustomLevelDaoImpl(); return(customLevelDao.GetCustomLevel(customLevelId)); }