private GetProductAllResponse CheckTypeByDateDESC(GetProductAllParameter param) { var response = new GetProductAllResponse(); try { var result = _dataAccess.GetListProductAll(param); if (result != null) { response.ListProductAll = MapList <GETPRODUCTALL_Result, GetProductAllDto>(result.ToList()); response.Success = true; } } catch (Exception ex) { response.Success = false; } return(response); }