public decimal App_Lawer_Insert(App_Lawer_Info p_obj, decimal p_status) { try { App_Lawer_DA _da = new App_Lawer_DA(); return(_da.App_Lawer_Insert(p_obj.Case_Code, p_obj.Lawer_Id, p_status, p_obj.Notes, p_obj.Language_Code, p_obj.Created_By, p_obj.Created_Date, p_obj.ReGrant)); } catch (Exception ex) { Logger.LogException(ex); return(-1); } }
public List <App_Lawer_Info> GetApp_Grant4Lawer(decimal p_lawer_id, decimal p_user_type, string p_language_code) { try { App_Lawer_DA _da = new App_Lawer_DA(); DataSet _ds = _da.GetApp_Grant4Lawer(p_lawer_id, p_user_type, p_language_code); return(CBO <App_Lawer_Info> .FillCollectionFromDataSet(_ds)); } catch (Exception ex) { Logger.LogException(ex); return(new List <App_Lawer_Info>()); } }