public bool Update(Users obj) { try { return(_dapper.Update <Users>(obj)); } catch (Exception ex) { throw ex; } }
public bool Update(TEntity entity) { return(dapper.Update <TEntity>(entity)); }