public ActionResult addAuthor(string authorName, string password, string authorCity, HttpPostedFileBase file)
        {
            NewsServiceClient ins = new NewsServiceClient();
            Author            a   = new Author();

            a.authorName = authorName;
            a.authorCity = authorCity;
            a.password   = password.ToString();
            //System.Diagnostics.Debug.WriteLine("&&&&&&&&&&&77"+authorName+"&&&"+password+"&&&&&"+authorCity);
            if (file != null)
            {
                a.authorImage = file.FileName;
                var fileBytes = new byte[file.ContentLength];
                file.InputStream.Read(fileBytes, 0, fileBytes.Length);
                a.imagedata = fileBytes;
            }
            else
            {
                a.authorImage = null;
                a.imagedata   = null;
            }
            int id = ins.addAuthor(a);

            Session["authorid"] = id;
            return(RedirectToAction("getAllNews", "News"));
        }