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