public UserController registerNormalUser(string email, string userName, string password, [FromBody] string value)
        {
            UserController user = userFinder.findUser(email);

            if (user != null)
            {
                return(null);
            }

            NormalUserController normalUser = new NormalUserController(email, userName, password);

            normalUserRepo.addUser(normalUser.getNormalUser());
            return(normalUser);
        }
        public UserController searchByEmail(string email)
        {
            conn.Open();
            string     strSelect = "Select * From NormalUser where email=@email";
            SqlCommand cmd       = new SqlCommand(strSelect, conn);

            cmd.Parameters.Add("@email", email);
            SqlDataReader myReader = cmd.ExecuteReader();

            if (myReader.Read())
            {
                string Nemail   = myReader["email"].ToString();
                string userName = myReader["userName"].ToString();
                string password = myReader["password"].ToString();
                NormalUserController normaluser = new NormalUserController(Nemail, userName, password);
                conn.Close();
                return(normaluser);
            }
            conn.Close();
            return(null);
        }