public HttpResponseMessage SendEmailViaWebApi(HttpRequestMessage request, SendEmailModel emailModel)
        {
            try
            {
                var listNguoiDung = _nguoiDungService.GetAllCoEmail(emailModel.Email);
                var listCoSoThuY  = _coSoThuYService.GetAllCoEmail(emailModel.Email);
                var listShop      = _shopService.GetAllCoEmail(emailModel.Email);
                var checkCout     = 0;
                if (listNguoiDung.Count() > 0)
                {
                    foreach (var item in listNguoiDung)
                    {
                        if (!item.Email.Equals(emailModel.Email))
                        {
                            continue;
                        }
                        checkCout++;
                        var toEmail = emailModel.Email;
                        if (item.IdTaiKhoan != null)
                        {
                            var taiKhoanModel = _taiKhoanService.GetById((int)item.IdTaiKhoan);
                            var content       = "The login password is for you: " + "\"" + taiKhoanModel.Pass + "\"";
                            _taiKhoanService.SenEmail(toEmail, "Email from TakeCareOfThePetService", content);
                        }
                        Message = "pass đã được cấp lại";
                    }
                }

                if (listCoSoThuY.Count() > 0)
                {
                    foreach (var item in listCoSoThuY)
                    {
                        if (!item.Email.Equals(emailModel.Email))
                        {
                            continue;
                        }
                        checkCout++;
                        var toEmail = emailModel.Email;
                        if (item.IdTaiKhoan != null)
                        {
                            var taiKhoanModel = _taiKhoanService.GetById((int)item.IdTaiKhoan);
                            var content       = "The login password is for you: " + "\"" + taiKhoanModel.Pass + "\"";
                            _taiKhoanService.SenEmail(toEmail, "Email from TakeCareOfThePetService", content);
                        }

                        Message = "pass đã được cấp lại";
                    }
                }

                if (listShop.Count() > 0)
                {
                    foreach (var item in listShop)
                    {
                        if (!item.Email.Equals(emailModel.Email))
                        {
                            continue;
                        }
                        checkCout++;
                        var toEmail = emailModel.Email;
                        if (item.IdTaiKhoan != null)
                        {
                            var taiKhoanModel = _taiKhoanService.GetById((int)item.IdTaiKhoan);
                            var content       = "The login password is for you: " + "\"" + taiKhoanModel.Pass + "\"";
                            _taiKhoanService.SenEmail(toEmail, "Email from TakeCareOfThePetService", content);
                        }

                        Message = "pass đã được cấp lại";
                    }
                }

                if (checkCout == 0)
                {
                    IsSuccess = false;
                    Message   = "không tồn tại email";
                }
            }
            catch (DbEntityValidationException ex)
            {
                LogException(ex);
            }
            return(GetResponseMessage(IsSuccess, Message, 1, null));
        }