private FidilioEntities _db; public string GetGoldenMember() { var res = _db.GoldenMemebrCustomer().FirstOrDefault(); string json = JsonConvert.SerializeObject(res); return json; }
var tt = new UserActivityVM(); var res = _db.UsersAvtivityReport(type).FirstOrDefault(); string jso = JsonConvert.SerializeObject(res); tt.UsersActivity = jso; return tt.UsersActivity;
_db
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)