Exemple #1
0
        public ActionResult <ListAssignmentForListVm> Index()
        {
            var model = _assignmentService.GetAllActiveAssignmentsForList(3, 1, "");

            if (model == null)
            {
                return(NotFound());
            }
            return(Ok(model));
        }
        public IActionResult Index()
        {
            var model = _assignmentService.GetAllActiveAssignmentsForList(3, 1, "");

            return(View(model));
        }