public bool Delete(int id) { if (id < 1) { ErrorMsg = ErrorCode.ParameterNull; return(false); } return(_certificateProvider.DeleteStu(id)); }