Commit e59b83bde323eba5f791afdc3a896ae6e88fc6d4

Authored by Utkarsh Singh
1 parent 196259b7

Committing updated restructuredcode

150-DOCUMENTATION/002-DBScripts/GetLicenseDetailByUserId.sql 0 → 100644
  1 +-- =============================================
  2 +-- Author: <EBIX SOFTWARE INDIA PVT. LTD.>
  3 +-- Create date: <07/31/2017>
  4 +-- Description: <Description,,>
  5 +-- =============================================
  6 +CREATE PROCEDURE GetLicenseDetailByUserId
  7 + -- Add the parameters for the stored procedure here
  8 + @iUserId int
  9 +AS
  10 +BEGIN
  11 + -- SET NOCOUNT ON added to prevent extra result sets from
  12 + -- interfering with SELECT statements.
  13 + SET NOCOUNT ON;
  14 +
  15 + -- Insert statements for procedure here
  16 + SELECT LicenseId, EditionId FROM LicenseToEdition
  17 + INNER JOIN AIAUserToLicenseEdition on AIAUserToLicenseEdition.LicenseEditionId = LicenseToEdition.Id
  18 + WHERE AIAUserToLicenseEdition.UserId = @iUserId
  19 +END
0 \ No newline at end of file 20 \ No newline at end of file
150-DOCUMENTATION/002-DBScripts/GetLicenseIdEditionIdByUserId.sql deleted
1 --- ================================================  
2 --- Template generated from Template Explorer using:  
3 --- Create Procedure (New Menu).SQL  
4 ---  
5 --- Use the Specify Values for Template Parameters  
6 --- command (Ctrl-Shift-M) to fill in the parameter  
7 --- values below.  
8 ---  
9 --- This block of comments will not be included in  
10 --- the definition of the procedure.  
11 --- ================================================  
12 -SET ANSI_NULLS ON  
13 -GO  
14 -SET QUOTED_IDENTIFIER ON  
15 -GO  
16 --- =============================================  
17 --- Author: <EBIX SOFTWARE INDIA PVT. LTD.>  
18 --- Create date: <07/31/2017>  
19 --- Description: <Description,,>  
20 --- =============================================  
21 -CREATE PROCEDURE GetLicenseIdEditionIdByUserId  
22 - -- Add the parameters for the stored procedure here  
23 - @iUserId int  
24 -AS  
25 -BEGIN  
26 - -- SET NOCOUNT ON added to prevent extra result sets from  
27 - -- interfering with SELECT statements.  
28 - SET NOCOUNT ON;  
29 -  
30 - -- Insert statements for procedure here  
31 - SELECT LicenseId, EditionId FROM LicenseToEdition  
32 - INNER JOIN AIAUserToLicenseEdition on AIAUserToLicenseEdition.LicenseEditionId = LicenseToEdition.Id  
33 - WHERE AIAUserToLicenseEdition.UserId = @iUserId  
34 -END  
35 -GO  
400-SOURCECODE/AIAHTML5.API/Models/User.cs
@@ -24,6 +24,7 @@ namespace AIAHTML5.API.Models @@ -24,6 +24,7 @@ namespace AIAHTML5.API.Models
24 public string UserType { get; set; } 24 public string UserType { get; set; }
25 public int UserTypeId { get; set; } 25 public int UserTypeId { get; set; }
26 public bool IsActive { get; set; } 26 public bool IsActive { get; set; }
  27 + public bool IsCorrectLoginId { get; set; }
27 public bool IsCorrectPassword { get; set; } 28 public bool IsCorrectPassword { get; set; }
28 public int IncorrectLoginAttemptCount { get; set; } 29 public int IncorrectLoginAttemptCount { get; set; }
29 public bool IsBlocked { get; set; } 30 public bool IsBlocked { get; set; }
@@ -36,7 +37,7 @@ namespace AIAHTML5.API.Models @@ -36,7 +37,7 @@ namespace AIAHTML5.API.Models
36 public License License { get; set; } 37 public License License { get; set; }
37 public LicenseSubscriptionDetails LicenseSubscriptions { get; set; } 38 public LicenseSubscriptionDetails LicenseSubscriptions { get; set; }
38 public bool IsSubscriptionExpired { get; set; } 39 public bool IsSubscriptionExpired { get; set; }
39 - public string SubscriptionExpirationDateString { get; set; } 40 + public string SubscriptionExpirationDate { get; set; }
40 public string TermsOfServiceTitle { get; set; } 41 public string TermsOfServiceTitle { get; set; }
41 public string TermsOfServiceText { get; set; } 42 public string TermsOfServiceText { get; set; }
42 43