public static List <dynamic> Return()
        {
            PostcardListEntities db = new PostcardListEntities();
            var w = (from i in db.list_of_postcards
                     select new { i.name_recipient, i.adress }).ToList <dynamic>();

            return(w);
        }
        public static list_of_postcards postcardss(string sender, string recipient, string adress, string text)
        {
            PostcardListEntities db        = new PostcardListEntities();
            list_of_postcards    postcards = new list_of_postcards();

            if (db.list_of_postcards.Count() == 0)
            {
                postcards.id_postcards = 1;
            }
            else
            {
                postcards.id_postcards = db.list_of_postcards.Max(p => p.id_postcards);
            }
            postcards.name_sender    = sender;
            postcards.name_recipient = recipient;
            postcards.text           = text;
            postcards.adress         = adress;
            return(postcards);
        }