UserController: companyColor (ashek bhai) #1
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.metadata.v8.bin
Normal file
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.metadata.v8.bin
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.projects.v8.bin
Normal file
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.projects.v8.bin
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.strings.v8.bin
Normal file
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.strings.v8.bin
Normal file
Binary file not shown.
|
|
@ -16,6 +16,7 @@ namespace cel.hrm.mobile.api.Controllers
|
||||||
{
|
{
|
||||||
string address = "";
|
string address = "";
|
||||||
string companyName = "";
|
string companyName = "";
|
||||||
|
string companyColor = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
string domain = string.Empty;
|
string domain = string.Empty;
|
||||||
|
|
@ -29,15 +30,18 @@ namespace cel.hrm.mobile.api.Controllers
|
||||||
switch (domain)
|
switch (domain)
|
||||||
{
|
{
|
||||||
case "celimited.com":
|
case "celimited.com":
|
||||||
address = "https://celbd.com/celhrmmobiletest/api/Mobile/";
|
//address = "https://celbd.com/celhrmmobiletest/api/Mobile/";
|
||||||
companyName = "CEL";
|
companyName = "CEL";
|
||||||
|
companyColor = "red";
|
||||||
//address = "http://100.100.100.15:45456/api/Mobile/";
|
//address = "http://100.100.100.15:45456/api/Mobile/";
|
||||||
|
address = "https://celbd.com/petromaxHRUAT/api/Mobile/";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "shvenergybd.com":
|
case "shvenergybd.com":
|
||||||
//address = "https://celclouds.com/petromax/api/Mobile/";
|
address = "https://celclouds.com/petromax/api/Mobile/";
|
||||||
companyName = "Petromax";
|
companyName = "Petromax";
|
||||||
address = "http://100.100.100.19:45456/api/Mobile/";
|
companyColor = "red";
|
||||||
|
//address = "http://100.100.100.19:45456/api/Mobile/";
|
||||||
//address = "https://celbd.com/petromaxHRUAT/api/Mobile/";
|
//address = "https://celbd.com/petromaxHRUAT/api/Mobile/";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
@ -47,6 +51,7 @@ namespace cel.hrm.mobile.api.Controllers
|
||||||
case "lfmilesgroup.com":
|
case "lfmilesgroup.com":
|
||||||
//address = "https://celclouds.com/lifungbd/api/Mobile/";
|
//address = "https://celclouds.com/lifungbd/api/Mobile/";
|
||||||
companyName = "LF";
|
companyName = "LF";
|
||||||
|
companyColor = "red";
|
||||||
address = "http://100.100.100.15:45457/api/Mobile/";
|
address = "http://100.100.100.15:45457/api/Mobile/";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
@ -54,32 +59,32 @@ namespace cel.hrm.mobile.api.Controllers
|
||||||
case "HM.COM":
|
case "HM.COM":
|
||||||
case "arket.com":
|
case "arket.com":
|
||||||
case "weekday.com":
|
case "weekday.com":
|
||||||
address = "https://bdpohr01.azurewebsites.net/api/Mobile/";
|
//address = "https://bdpohr01.azurewebsites.net/api/Mobile/";
|
||||||
companyName = "H&M";
|
companyName = "H&M";
|
||||||
//address = "http://100.100.100.19:45455/api/Mobile/";
|
companyColor = "blue";
|
||||||
|
address = "https://celbd.com/hnmuat/api/Mobile/";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "wartsila.com":
|
case "wartsila.com":
|
||||||
address = "https://celclouds.com/WartsilaHR/api/Mobile/";
|
//address = "https://celclouds.com/WartsilaHR/api/Mobile/";
|
||||||
companyName = "Wartsila";
|
companyName = "Wartsila";
|
||||||
//address = "http://100.100.100.19:45456/api/Mobile/";
|
companyColor = "blue";
|
||||||
|
address = "http://100.100.100.19:45456/api/Mobile/";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "texebo-bd.com":
|
case "texebo-bd.com":
|
||||||
//temporary
|
address = "https://hris.texebo-bd.net/texebohrms/api/Mobile/";
|
||||||
if (DateTime.UtcNow > new DateTime(2026, 3, 11, 16, 0, 0))
|
|
||||||
address = "https://hris.texebo-bd.net/texebohrms/api/Mobile/";
|
|
||||||
else
|
|
||||||
address = "https://celclouds.com/texebohrms/api/Mobile/";
|
|
||||||
companyName = "Tex-Ebo";
|
companyName = "Tex-Ebo";
|
||||||
//address = "http://100.100.100.19:45457/api/Mobile/";
|
companyColor = "blue";
|
||||||
|
//address = "https://celbd.com/texebo/api/Mobile/";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "duncanbd.com":
|
case "duncanbd.com":
|
||||||
address = "https://hrm.duncanbd.net/api/Mobile/";
|
//address = "https://hrm.duncanbd.net/api/Mobile/";
|
||||||
//address = "https://celclouds.com/texebohrms/api/Mobile/";
|
//address = "https://celclouds.com/texebohrms/api/Mobile/";
|
||||||
companyName = "Duncan BD";
|
companyName = "Duncan BD";
|
||||||
//address = "http://100.100.100.19:45457/api/Mobile/";
|
companyColor = "blue";
|
||||||
|
address = "http://100.100.100.19:45457/api/Mobile/";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "customdomain.com":
|
case "customdomain.com":
|
||||||
|
|
@ -100,7 +105,7 @@ namespace cel.hrm.mobile.api.Controllers
|
||||||
{
|
{
|
||||||
return StatusCode(StatusCodes.Status500InternalServerError, e.Message);
|
return StatusCode(StatusCodes.Status500InternalServerError, e.Message);
|
||||||
}
|
}
|
||||||
return Ok("companyname#" + companyName + "#" + "address#" + address + "#");
|
return Ok("companyname#" + companyName + "#" + "companyColor#" + companyColor + "#" + "address#" + address + "#");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user