30 lines
684 B
C#
30 lines
684 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
using CoderEngine;
|
|
|
|
namespace CodeShowWeb
|
|
{
|
|
public partial class Index : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
public string GetJavaCode()
|
|
{
|
|
string JavaCode = new JavaCodeWrite().ModelToJavaCode("CoderEngine", "A");
|
|
return JavaCode;
|
|
}
|
|
|
|
public string GetSwiftCode()
|
|
{
|
|
string SwiftCode = new SwiftCodeWrite().ModelToSwiftCode("CoderEngine", "A");
|
|
return SwiftCode;
|
|
}
|
|
}
|
|
} |