public void Unbook_TheAttendanceAlreadyExist_ReturnBadRequest()
        {
            _mockRepository.Setup(r => r.GetAttendenceByUserAndGig(userId, gigId)).Returns(null as Attendence);
            var dto = new AttendenceDto {
                GigId = gigId
            };

            var result = _controller.Unbook(dto);

            result.Should().BeOfType <BadRequestErrorMessageResult>();
        }
        public void Unbook_CalledCorrectly_DeleteTheAttendance()
        {
            var gig = new Gig(_user.Id, "-", DateTime.Now.AddDays(1), _genre.Id);

            _context.Gigs.Add(gig);
            _context.SaveChanges();
            var dto = new AttendenceDto {
                GigId = _context.Gigs.First().Id
            };

            _controller.Attend(dto);

            _controller.Unbook(dto);

            _context.Attendences.Should().HaveCount(0);
        }