public IActionResult CreateActivity(RecretionalActivity recretionalActivity) { try { _activityService.AddAnActivity(recretionalActivity); return(RedirectToAction("Index")); } catch (Exception e) { return(View()); } }