static void Main(string[] args) { var acc = new GeneralAccount(); acc.Name = "Sobuj"; acc.Email = "*****@*****.**"; acc.GeneralAccountId = 0; acc.LastPasswordChanged = DateTime.Now; SqlQueryBuilder sb = new SqlQueryBuilder(); sb.GetUpdateQuery(acc, "Name,Email,LastPasswordChanged", "GeneralAccountId="+ 1); }
public IActionResult SaveAccountInfo(GeneralAccount accountObj) { ProfileDataService ProfileService = new ProfileDataService(); var data = ProfileService.SaveAccountInfo(accountObj); return Json(data); }
public object SaveAccountInfo(GeneralAccount accountObj) { throw new NotImplementedException(); }