public bool Delete(EntityHandler.Roles obj) { bool Status = false; try { Status = new DataAccessHandler.Roles().Delete(obj); } catch (Exception ex) { } return Status; }
public bool Delete(EntityHandler.Roles obj) { bool Status = false; try { Status = new DataAccessHandler.Roles().Delete(obj); } catch (Exception ex) { } return(Status); }
public List<EntityHandler.Roles> SelectAll(EntityHandler.Roles obj) { List<EntityHandler.Roles> listobj = new List<EntityHandler.Roles>(); try { DataTable dt = new DataAccessHandler.Roles().SelectAll(obj); for (int i = 0; i < dt.Rows.Count; i++) { listobj.Add(ConvertToObject(dt.Rows[i])); } } catch (Exception ex) { } return listobj; }
public List <EntityHandler.Roles> SelectAll(EntityHandler.Roles obj) { List <EntityHandler.Roles> listobj = new List <EntityHandler.Roles>(); try { DataTable dt = new DataAccessHandler.Roles().SelectAll(obj); for (int i = 0; i < dt.Rows.Count; i++) { listobj.Add(ConvertToObject(dt.Rows[i])); } } catch (Exception ex) { } return(listobj); }