public void CheckAssignmentListExistAndIncludesProperData()
        {
            //Arrange
            NewAssignmentVm assignment1 = new NewAssignmentVm()
            {
                Id   = 1,
                Name = "test"
            };

            NewAssignmentVm assignment2 = new NewAssignmentVm()
            {
                Id   = 2,
                Name = "test1"
            };

            var options = new DbContextOptionsBuilder <Context>()
                          .UseInMemoryDatabase("UsersDirectoryMVC")
                          .Options;

            var config = new MapperConfiguration(c =>
            {
                c.AddProfile(new MappingProfile());
            });
            var mapper = config.CreateMapper();

            using (var context = new Context(options))
            {
                //Act
                var assignmentService = new AssignmentService(mapper, new AssignmentRepository(context));
                assignmentService.AddAssignment(assignment1);
                assignmentService.AddAssignment(assignment2);
                var listOfAssignments = assignmentService.GetAllActiveAssignmentsForList(2, 1, "");

                //Assert
                listOfAssignments.Should().NotBeNull();
                listOfAssignments.Assignments.Count.Should().Be(2);
                listOfAssignments.Assignments.Find(e => e.Id == 1).Should().Equals(assignment1);
                listOfAssignments.Assignments.Find(e => e.Id == 2).Should().Equals(assignment2);
            }
        }