public async Task <IActionResult> DeleteProduct(Int32 id)
        {
            var response = new SingleModelResponse <ProductViewModel>() as ISingleModelResponse <ProductViewModel>;

            try
            {
                var entity = await Task.Run(() =>
                {
                    return(AdventureWorksRepository.DeleteProduct(id));
                });

                response.Model   = entity.ToViewModel();
                response.Message = "The record was deleted successfully";
            }
            catch (Exception ex)
            {
                response.DidError     = true;
                response.ErrorMessage = ex.Message;
            }

            return(response.ToHttpResponse());
        }