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

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