Commit 59ada5fc8d778fde84269b3345dfad82d9919077

Authored by Utkarsh Singh
1 parent cecc2979

Committing updated files

400-SOURCECODE/AIAHTML5.API/Models/DBModel.cs
... ... @@ -273,10 +273,8 @@ namespace AIAHTML5.API.Models
273 273 Hashtable moduleHash;
274 274 foreach (Hashtable module in allModules)
275 275 {
276   - string slg = module["slug"].ToString();
277 276 foreach (Hashtable userModule in modulesByLicense)
278 277 {
279   - bool y = Convert.ToBoolean(userModule["Status"]);
280 278 if ((userModule["Title"].ToString().Trim() == module["name"].ToString().Trim()) && (Convert.ToBoolean(userModule["Status"]) == true))
281 279 {
282 280 moduleHash = new Hashtable();
... ...
400-SOURCECODE/AIAHTML5.API/Models/Users.cs
... ... @@ -49,25 +49,7 @@ namespace AIAHTML5.API.Models
49 49 {
50 50 logger.Debug("userDetails.loginId= " + user.LoginId); // .loginId);
51 51  
52   - //if (user.IsActive)
53   - //{
54   - //if (user.UserType == User.SUPER_ADMIN)
55   - //{
56   - userDetails = JsonConvert.SerializeObject(user);
57   - //}
58   - //else if (user.License != null)
59   - //{
60   - // userDetails = JsonConvert.SerializeObject(user);
61   - //}
62   - //else
63   - //{
64   - // userDetails = AIAConstants.INVALID_USER;
65   - //}
66   - //}
67   - //else
68   - //{
69   - // userDetails = AIAConstants.INVALID_USER;
70   - //}
  52 + userDetails = JsonConvert.SerializeObject(user);
71 53 }
72 54 else
73 55 {
... ...
400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
No preview for this file type
400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
No preview for this file type