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