/// <summary> /// Lấy tất cả dữ liệu /// </summary> /// <returns>ServiceResult</returns> /// Created by Phạm Việt Thắng (22/02/2021) public virtual ServiceResult GetAll() { var sqlCommand = $"SELECT * FROM {_className}"; _serviceResult.Data = _dbConnector.GetList <TEntity>(sqlCommand, new { }, System.Data.CommandType.Text); return(_serviceResult); }