-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bbbf0cc
commit 707dc3b
Showing
25 changed files
with
96 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,8 @@ | |
using System.Dynamic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Net; | ||
using System.Net.Mail; | ||
using System.Security.Claims; | ||
using System.Threading.Tasks; | ||
using static DigiteonWeb.Common.CommonFunctions; | ||
|
@@ -255,7 +257,7 @@ public IActionResult GetTraining(int? sort_column, string sort_order, int? pg, i | |
} | ||
|
||
[Route("training-calendar/{cname}/{id}")] | ||
public IActionResult Enroll(Guid id,string cname) | ||
public IActionResult Enroll(Guid id, string cname) | ||
{ | ||
try | ||
{ | ||
|
@@ -271,7 +273,7 @@ public IActionResult Enroll(Guid id,string cname) | |
{ | ||
return null; | ||
} | ||
|
||
} | ||
|
||
[Route("thank-you")] | ||
|
@@ -342,13 +344,13 @@ public IActionResult GetCareerListData(string jobTitle, int? sort_column, string | |
} | ||
|
||
[Route("careers/apply-now/{jname}/{id}")] | ||
public IActionResult ApplyNow(Guid id,string jname) | ||
public IActionResult ApplyNow(Guid id, string jname) | ||
{ | ||
try | ||
{ | ||
CareerApplication application = new CareerApplication(); | ||
application.unCareerId = id; | ||
application.stJobName= jname; | ||
application.stJobName = jname; | ||
return View("~/Views/Home/ApplicationDetail.cshtml", application); | ||
} | ||
catch (Exception ex) | ||
|
@@ -383,9 +385,27 @@ public async Task<IActionResult> SaveCareerApplication(CareerApplication applica | |
int fiSuccess = Convert.ToInt32(loSuccess.Value); | ||
if (fiSuccess == 101) | ||
{ | ||
TempData["ResultCode"] = CommonFunctions.ActionResponse.Add; | ||
TempData["Message"] = string.Format(AlertMessage.SaveData); | ||
return RedirectToAction("Index"); | ||
//MailAddress from = new MailAddress("[email protected]", "Info"); | ||
//MailAddress to = new MailAddress("[email protected]", "Info"); | ||
//MailMessage message = new MailMessage(from, to); | ||
//message.Subject = "Apply Now "; | ||
//message.Body = "<table><tr><td>Application Name : </td><td>" + application.stName + "</td></tr>" + | ||
// "<tr><td>Email : </td><td>" + application.stEmail + "</td></tr> " + | ||
// "<tr><td>Message : </td><td>" + application.stMessage + "</td></tr>" + | ||
// "</table>"; | ||
//message.IsBodyHtml = true; | ||
|
||
//System.Net.NetworkCredential mailAuthentication = new System.Net.NetworkCredential("[email protected]", "Ranchi@12345"); | ||
|
||
//System.Net.Mail.SmtpClient mailClient = new System.Net.Mail.SmtpClient("smtp.zoho.com", 587); | ||
//mailClient.EnableSsl = true; | ||
//mailClient.UseDefaultCredentials = false; | ||
//mailClient.Credentials = mailAuthentication; | ||
|
||
//message.IsBodyHtml = true; | ||
//mailClient.Send(message); | ||
|
||
return RedirectToAction("ThankYou"); | ||
} | ||
else if (fiSuccess == 102) | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-13.9 KB
DigiteonWeb/wwwroot/Files/Career/218c2d7f-a2b5-4eb8-938c-b46663cbb03d.jpg
Binary file not shown.
Binary file removed
BIN
-13.9 KB
DigiteonWeb/wwwroot/Files/Career/3bb67bc4-cd70-4ca4-b0b9-a24cf34e9c00.jpg
Binary file not shown.
Binary file removed
BIN
-13.9 KB
DigiteonWeb/wwwroot/Files/Career/69d4335e-2b7b-456d-9fba-fd03ef9c4170.jpg
Binary file not shown.
Binary file removed
BIN
-13.9 KB
DigiteonWeb/wwwroot/Files/Career/706c6345-13d2-4af3-8a7b-8b0106cc0e20.jpg
Binary file not shown.
Binary file removed
BIN
-11.2 KB
DigiteonWeb/wwwroot/Files/Career/70782c82-33cf-4469-93af-d27b8a2304eb.jpg
Binary file not shown.
Binary file removed
BIN
-13.9 KB
DigiteonWeb/wwwroot/Files/Career/77c11868-4bc7-4b3d-bf35-edd4b865f397.jpg
Binary file not shown.
13 changes: 0 additions & 13 deletions
13
DigiteonWeb/wwwroot/Files/Career/a674f8f5-7093-442e-bb91-b43bb9aae59d.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-13.9 KB
DigiteonWeb/wwwroot/Files/Career/d0a44c12-c386-4f2b-b937-76e39616b9ae.jpg
Binary file not shown.
Binary file removed
BIN
-13.9 KB
DigiteonWeb/wwwroot/Files/Career/e253c5d6-7349-4ad2-8aa3-dc4473924279.jpg
Binary file not shown.
13 changes: 0 additions & 13 deletions
13
DigiteonWeb/wwwroot/Files/Career/e785f839-191c-4243-8184-ad33f92cb720.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-13.9 KB
DigiteonWeb/wwwroot/Files/Career/edf2f075-e33e-4750-aea1-ac833444d579.jpg
Binary file not shown.
13 changes: 0 additions & 13 deletions
13
DigiteonWeb/wwwroot/Files/Career/f2774caf-79c1-4889-a8ce-cd61ceaddf34.json
This file was deleted.
Oops, something went wrong.