public async Task <CommonResponse> CheckProductExist(CheckProductNameModel checkProductNameModel)
 {
     return(await ExecuteAll <CommonResponse>("Pdt.CheckProductsExist", checkProductNameModel));
 }
 public async Task <CommonResponse> CheckProductExist(CheckProductNameModel checkProductNameModel)
 {
     return(await _productRepository.CheckProductExist(checkProductNameModel));
 }
        public async Task <ActionResult> Get([FromQuery] CheckProductNameModel checkProductNameModel)
        {
            var list = await _productService.CheckProductExist(checkProductNameModel);

            return(Ok(list));
        }