Exemplo n.º 1
0
        public IActionResult SubmitCheckIn(JuniorDotNetCheckIn checkIn)
        {
            //Submit checkin
            //...

            var success = true;

            if (success)
            {
                return(View("Success", checkIn));
            }

            return(View("Error"));
        }
Exemplo n.º 2
0
        public IActionResult Index()
        {
            var checkIn = new JuniorDotNetCheckIn
            {
                Quarter                   = "Q3",
                ProjectUpdate             = "I've been a good boi.",
                GoalsUpdate               = "I already learned the single responsibility, open/closed & liskov substitution principle.",
                SoftwareCertificateUpdate = "Exam 70-483: Programming in C#",
                SoftwareTrainingNeeded    = "I wish I had a Blazor training this afternoon.",
                SeniorRoleModel           = "/, I don't know anyone"
            };

            return(View(checkIn));
        }