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;
        }
Beispiel #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;
 }
Beispiel #3
0
 public ProfileViewModel()
 {
     account     = new account();
     ImageUpload = null;
     cloudinary  = new CloudinaryAccount().Cloud;
 }