public async Task <bool> Update(AddUpdateDoctorDto doctorDto)
        {
            #region update filter

            var updateFilter = Builders <Doctor> .Update
                               .Set(x => x.DoctorName, doctorDto.DoctorName)
                               .Set(x => x.Address, doctorDto.Address);

            #endregion

            return(await UpdateOneAsync(doctorDto.DoctorId, updateFilter, _userClaims.Id));
        }
        public async Task <string> Create(AddUpdateDoctorDto doctorDto)
        {
            #region validations

            if (string.IsNullOrWhiteSpace(doctorDto.DoctorName))
            {
                throw new PharmacyStoreServiceCustomException("Doctor name is compulsory", string.Empty);
            }

            #endregion

            return(await AddOneAsync(new Doctor
            {
                DoctorName = doctorDto.DoctorName,
                Address = doctorDto.Address
            }, _userClaims.Id));
        }