Ejemplo n.º 1
0
        public book(string name, string img)
        {
            account a = new account();

            this.id           = 1;
            this.img          = img;
            this.shortDes     = "";
            this.name         = name;
            this.des          = "";
            this.createdby    = a;
            this.language     = "";
            this.pulishedDate = DateTime.Now;
        }
Ejemplo n.º 2
0
 public book(int id, string shortDes, string name, string des, account createdby, string language, string img, DateTime pulishedDate, int upPoint, int downPoint)
 {
     this.id           = id;
     this.shortDes     = shortDes;
     this.name         = name;
     this.des          = des;
     this.createdby    = createdby;
     this.language     = language;
     this.img          = img;
     this.pulishedDate = pulishedDate;
     this.upPoint      = upPoint;
     this.downPoint    = downPoint;
 }
Ejemplo n.º 3
0
 public ProfileViewModel()
 {
     account     = new account();
     ImageUpload = null;
     cloudinary  = new CloudinaryAccount().Cloud;
 }