//check if given name is already used
        public bool CheckExists(string name)
        {
            Staff staff = staffService.GetByName(name);

            if (staff == null)
            {
                return(false);
            }
            else
            {
                return(true);
            }
        }