private void AddSupplier()
        {
            if (!ValidateInputFields())
            {
                RaiseNotification("Alert", "Please fill all the required fields");
                return;
            }

            var supplier = new Supplier();
            var address  = new Address();

            try
            {
                supplier.SupplierGST  = GstNumber;
                supplier.SupplierName = SupplierName;
                supplier.SupplierTIN  = TinNumber;

                address.AddressLine1 = AddressLine1;
                address.AddressLine2 = AddressLine2;
                address.AddressLine3 = AddressLine3;
                address.City         = City;
                address.State        = State;
                address.Pincode      = Pincode;
                supplier.ADDRESS     = address;

                _supplierModel.AddSupplier(supplier);
                log.Info(String.Format("New Supplier {0} added successfully", SupplierName));
            }
            catch (Exception ex)
            {
                log.Error(supplier, ex);
                RaiseNotification("Error", "Failed to complete the operation");
            }
            finally
            {
                RaiseNotification("Success", string.Format("Successfully added new supplier '{0}'", SupplierName));
                ResetUI();
            }
        }