public VendorModel Login(LoginCredentialsModel loginVm)
        {
            VendorModel vendorVm = vendordao.ValidateUser(loginVm);

            if (vendorVm != null)
            {
                if (PasswordHasher.ValidatePassword(loginVm.Password, vendorVm.PSWD))
                {
                    return(vendorVm);
                }
            }
            return(null);
        }