public bool checkIfAuthorized(string username, string password)
        {
            StaffDataSource dataSource = new StaffDataSource();

            Console.WriteLine(username + "  " + password);
            return(dataSource.checkIfUserPassCombinationCorrect(username, password));
        }
        public void Add(string name, string mail, string phone, string address, string nickname, string password)
        {
            StaffDataSource sds = new StaffDataSource();

            WCSA_Entity_Classes.Staff stf = new WCSA_Entity_Classes.Staff(name, mail, phone, address, nickname, password);
            sds.AddToList(stf);
        }
        public List <WCSA_Entity_Classes.Staff> fetchStaffList()
        {
            List <WCSA_Entity_Classes.Staff> staffList = new List <WCSA_Entity_Classes.Staff>();
            StaffDataSource sds = new StaffDataSource();

            sds.returnEntireList(staffList);

            return(staffList);
        }
        public void DeleteStaff(string name)
        {
            StaffDataSource sds = new StaffDataSource();

            sds.DeleteFromList(name);
        }
        public void modifyStaffDetails(string name, string mail, string phone, string address, string nickname, string password)
        {
            StaffDataSource sds = new StaffDataSource();

            sds.ModifyList(new WCSA_Entity_Classes.Staff(name, mail, phone, address, nickname, password));
        }
        public WCSA_Entity_Classes.Staff checkStaffDetails(string name)
        {
            StaffDataSource sds = new StaffDataSource();

            return(sds.ReturnAnItem(name));
        }