public async Task UpdateProduct(ScanCenterProductModel updateProduct)
 {
     await _conn.QueryAsync("SP_SC_UpdateProduct", new
     {
         updateProduct.Id,
         updateProduct.ScanCenterProfileId,
         updateProduct.Name,
         updateProduct.Price,
         updateProduct.Brand,
         updateProduct.Category,
         updateProduct.Description,
         updateProduct.Images
     }, commandType : CommandType.StoredProcedure);
 }
 public async Task <int> CreateProduct(ScanCenterProductModel addProduct)
 {
     return(await _conn.QuerySingleAsync <int>("SP_SC_AddProduct", new
     {
         addProduct.ScanCenterProfileId,
         addProduct.Name,
         addProduct.Price,
         addProduct.Brand,
         addProduct.Category,
         addProduct.Description,
         addProduct.Images,
         addProduct.IsAdminProduct
     }, commandType : CommandType.StoredProcedure));
 }