public string GetMaxCode() { string code = string.Empty; try { code = _objDALProduct.GetMaxCode(); return(code); } catch (Exception ex) { ExceptionLogger.WriteExceptionInDB(ex, ExceptionLevel.DAL, ExceptionType.Error); throw new DALException(); } }