Beispiel #1
0
        public async Task <bool> DenyPatientRegisterRequest(MailModel mail)
        {
            var mailModel = _mapper.Map <MailModel, MailPOCO>(mail);

            if (await _userContract.DenyPatientRegisterRequest(mailModel))
            {
                ms.SendEmail(mailModel);
                return(true);
            }
            return(false);
        }