public AccountMessageModel GetAccountById(int AccountId)
        {
            var db = new CustomerInfo();

            try
            {
                var myAccount = db.Accounts.Where(a => a.Id == AccountId).First();
                var myMessage = new AccountMessageModel
                {
                    ResponseStatus = "Success"
                };
                myMessage.FillList(myAccount);
                return(myMessage);
            }
            catch (Exception)
            {
                var myMessage = new AccountMessageModel
                {
                    ResponseStatus = "Fail"
                };
                return(myMessage);
            }
        }
        public AccountMessageModel GetCustomerAccounts(string LastName, string FirstName, string PhoneNo)
        {
            var db = new CustomerInfo();

            try
            {
                var customer   = db.Customers.Where(c => c.LastName == LastName && c.FirstName == FirstName && c.PhoneNo == PhoneNo).First();
                var myAccounts = db.Accounts.Where(a => a.CustomerId == customer.Id);
                var myMessage  = new AccountMessageModel
                {
                    ResponseStatus = "Success"
                };
                myMessage.FillList(myAccounts.ToList());
                return(myMessage);
            }
            catch (Exception ex)
            {
                var myMessage = new AccountMessageModel
                {
                    ResponseStatus = "Fail"
                };
                return(myMessage);
            }
        }