public async void GetById_NotNull_Dto()
        {
            //Arrange
            var dal = new MockDalRepository <Patient>().GetById(MockPatient.ToList().FirstOrDefault(x => x.Id == 1));

            //Act
            var service = new ServiceRepository <Patient>(dal.Object);
            var result  = await service.GetAsync(1);

            //Assert
            Assert.NotNull(result);
        }
        public async void Delete_Success_Result()
        {
            //Arrange
            var dal = new MockDalRepository <Patient>().Delete(new DataResult <Patient>(new Patient(), true), MockPatient.ToList().FirstOrDefault(x => x.Id == 1));

            //Act
            var service = new ServiceRepository <Patient>(dal.Object);
            var result  = await service.DeleteAsync(1);

            //Assert
            Assert.True(result.Success);
        }