|
@ -160,7 +160,7 @@ namespace Sevomin.WebFrontend.Controllers |
|
|
[HttpPost] |
|
|
[HttpPost] |
|
|
public async Task<ActionResult> ProfileDovomin(string JalaliBirthDate, string FirstName, |
|
|
public async Task<ActionResult> ProfileDovomin(string JalaliBirthDate, string FirstName, |
|
|
string LastName, string ContactPersonEMail, bool IsFullTime, |
|
|
string LastName, string ContactPersonEMail, bool IsFullTime, |
|
|
bool IsPartTime, string Description, bool ShowCompanyLogo, FormCollection form) |
|
|
|
|
|
|
|
|
bool IsPartTime, string Description, FormCollection form) |
|
|
{ |
|
|
{ |
|
|
User u = await UserManager.FindByNameAsync(User.Identity.Name); |
|
|
User u = await UserManager.FindByNameAsync(User.Identity.Name); |
|
|
if (u == null || !(u is Dovomin)) |
|
|
if (u == null || !(u is Dovomin)) |
|
|