public T BuildObject <T>(List <Dictionary <string, object> > lstResults) { var Dic = new Dictionary <string, object>(); if (lstResults.Count > 0) { Dic = lstResults[0]; var Objs = Mapper.BuildObject(Dic); return((T)Convert.ChangeType(Objs, typeof(T))); } return(default(T)); }