/// <summary>
        /// Lấy ra dữ liệu của class ObjectDetails
        /// </summary>
        /// <returns>
        /// Create by Nhthai(4/05/2019)
        /// </returns>
        // GET: api/ObjectDetail
        public Result Get()
        {
            var result = new Result();

            try
            {
                VendorBL vendorBL = new VendorBL();
                result.Data    = vendorBL.GetDataVendor();
                result.Success = true;
            }
            catch (Exception)
            {
                result.Success = false;
                throw;
            }
            return(result);
        }