Exemplo n.º 1
0
        public async Task <IActionResult> AssignedWork()
        {
            var user = await CurrentUser();

            var assigments = _assignmentService.GetAllWithAssociatedTablesByUserId(user.Id);
            var assignedJobListViewModel = _workModelFactory.PrepareAssignedJobListViewModel(assigments);

            return(View(assignedJobListViewModel));
        }