public System.Data.DataTable PostTable(CharityPlatform.Entity.PostParameter parameter) { try { using (CharityPlatform.Data.AppBLL bll = new CharityPlatform.Data.AppBLL()) { return bll.FillDataTable(parameter.proc, parameter.entity); } } catch (Exception ex) { return null; } }
public System.Data.DataTable PostTable(CharityPlatform.Entity.PostParameter parameter) { try { using (CharityPlatform.Data.AppBLL bll = new CharityPlatform.Data.AppBLL()) { return(bll.FillDataTable(parameter.proc, parameter.entity)); } } catch (Exception ex) { return(null); } }
public int PostEntity(CharityPlatform.Entity.PostParameter parameter) { try { using (CharityPlatform.Data.AppBLL bll = new CharityPlatform.Data.AppBLL()) { return bll.ExecuteNonQuery(parameter.proc, parameter.entity); } } catch (Exception ex) { return -1; } }
public int PostEntity(CharityPlatform.Entity.PostParameter parameter) { try { using (CharityPlatform.Data.AppBLL bll = new CharityPlatform.Data.AppBLL()) { return(bll.ExecuteNonQuery(parameter.proc, parameter.entity)); } } catch (Exception ex) { return(-1); } }