public ActionResult Create(FormCollection collection)
        {
            try
            {
                var id = 0;

                if (string.IsNullOrWhiteSpace(collection["FriendId"].ToString()))
                {
                    id = 0;
                }
                else
                {
                    id = int.Parse(collection["FriendId"].ToString());
                }


                string   tempName      = collection["FriendName"].ToString();
                string   tempLastName  = collection["FriendLastName"].ToString();
                DateTime tempBirthDate = DateTime.Parse(collection["FriendBirthDate"].ToString());

                Friend friend = new Friend(id, tempName, tempLastName, tempBirthDate, 0);

                friend.FriendDaysToBirthDate = friend.GetDaysToBirthDate();

                repository.AddFriend(friend);


                return(RedirectToAction("Index"));
            }
            catch (Exception e)
            {
                throw e;
            }
        }