public async Task <ResultPT> DeleteAsync(int id)
        {
            ResultPT result;

            using (Supplier_MasterBAL Supplier_MasterBAL = new Supplier_MasterBAL())
            {
                result = await Supplier_MasterBAL.DeleteAsync(id);
            }
            return(result);
        }
        public async Task <ResultPT> GetAsync()
        {
            ResultPT result;

            using (Supplier_MasterBAL Supplier_MasterBAL = new Supplier_MasterBAL())
            {
                result = await Supplier_MasterBAL.GetAllAsync();
            }
            return(result);
        }
        public async Task <ResultPT> PutAsync(int id, [FromBody] Supplier_MasterDTO value)
        {
            ResultPT result = null;

            if (ModelState.IsValid)
            {
                using (Supplier_MasterBAL Supplier_MasterBAL = new Supplier_MasterBAL())
                {
                    result = await Supplier_MasterBAL.UpdateAsync(value);
                }
            }
            return(result);
        }