/// <summary>
 /// 发布微博
 /// </summary>
 /// <param name="Uid"></param>
 /// <param name="Mbd"></param>
 /// <returns></returns>
 public int PublishWeibo(DTO.UserInfoDto Uid, DTO.MicroBlogsDto Mbd)
 {
     Models.MicroBlog Mb = new Models.MicroBlog()
     {
         UserID        = Uid.Id,
         Title         = Mbd.Title,
         Content_text  = Mbd.Content_text,
         Content_img   = Mbd.Content_img,
         Points_number = 0,
         Place         = Mbd.Place,
         Cansee_states = 0
     };
     DbContexts.MicroBlog.Add(Mb);
     return(DbContexts.SaveChanges());
 }
        /// <summary>
        /// 发布微博
        /// </summary>
        /// <param name="Uid"></param>
        /// <param name="Mbd"></param>
        /// <returns></returns>
        public int PublishWeibo(DTO.UserInfoDto Uid, DTO.MicroBlogsDto Mbd)
        {
            var uifSvc = new DAL.MicroBlogService();

            return(uifSvc.PublishWeibo(Uid, Mbd));
        }