public static ClsLead GetByGroupID(int ID) { try { ClsLead obj = new ClsLead(); DataSet ds = new DataAccess.ClsUserDataService().User_GetByID(ID); if (!obj.MapData(ds.Tables[0])) { obj = null; } return(obj); } catch (Exception ex) { VMuktiHelper.ExceptionHandler(ex, "GetByGroupID()", "ClsLead.cs"); return(null); } }
public static ClsLead GetByGroupID(int ID) { try { ClsLead obj = new ClsLead(); DataSet ds = new DataAccess.ClsUserDataService().User_GetByID(ID); if (!obj.MapData(ds.Tables[0])) obj = null; return obj; } catch (Exception ex) { VMuktiHelper.ExceptionHandler(ex, "GetByGroupID()", "ClsLead.cs"); return null; } }