public async Task <bool> AcceptPatientRegisterRequest(MailModel mail) { var mailModel = _mapper.Map <MailModel, MailPOCO>(mail); if (await _userContract.AcceptPatientRegisterRequest(mailModel)) { ms.SendEmail(mailModel); return(true); } return(false); }