//ADD USER INTO USER TABLE private void AddUser() { try { Console.ForegroundColor = ConsoleColor.Cyan; Console.WriteLine("Enter user details.."); Console.ForegroundColor = ConsoleColor.White; Console.Write("User Id: "); user.UserId = int.Parse(Console.ReadLine()); Console.Write("User Name: "); user.UserName = Console.ReadLine(); Console.Write("User Email: "); user.UserEmail = Console.ReadLine(); Console.Write("User Password: "******"Enter a valid input!!!"); Console.ForegroundColor = ConsoleColor.White; } catch (LibraryMSException) { throw new LibraryMSException("Some unknown exception is occured.."); } }