Esempio n. 1
0
        public ActionResult CreateProject(string ProjectName, string Host, string Username, string Password, string Database)
        {
            IProjectBAL          projectBAL = new ProjectBAL();
            CreateProjectRequest request    = new CreateProjectRequest();

            request.project.ProjectName = ProjectName;
            request.project.Host        = Host;
            request.project.Username    = Username;
            request.project.Password    = Password;
            request.project.Database    = Database;
            var response = projectBAL.CreateProject(request);

            return(Json(response));
        }