public object Any(Product request)
        {
            var resp           = new Dto <Product>();
            var productHandler = new ProductHandler(Db);

            var product = productHandler.Save(new Models.Product().PopulateWith(request));

            resp.Result = product.ConvertTo <Product>();

            return(resp);
        }
        public object Get(Product request)
        {
            var resp           = new Dto <Product>();
            var productHandler = new ProductHandler(Db);

            var product = productHandler.Get(request.Id, request.IncludeDeleted).ConvertTo <Product>();

            resp.Result = product;
            resp.Result.QuantityOnHand = InventoryHandler.GetQuantityOnHand(product.Id);
            resp.Result.Images         =
                ProductImageHandler.GetImages(request.Id, request.IncludeDeleted).ConvertAll(x => x.ConvertTo <Image>());

            return(resp);
        }