Fixed the typo of PermanentAddress
This commit is contained in:
parent
db879495cb
commit
5d4b1ad282
@ -16,7 +16,7 @@ namespace Marco.Pms.Model.Dtos.Employees
|
||||
public DateTime? BirthDate { get; set; }
|
||||
public DateTime? JoiningDate { get; set; }
|
||||
|
||||
public string PeramnentAddress { get; set; }
|
||||
public string PermanentAddress { get; set; }
|
||||
public string CurrentAddress { get; set; }
|
||||
public string PhoneNumber { get; set; }
|
||||
|
||||
|
@ -19,7 +19,7 @@ namespace Marco.Pms.Model.Dtos.Employees
|
||||
public string? BirthDate { get; set; }
|
||||
public string JoiningDate { get; set; }
|
||||
|
||||
public string? PeramnentAddress { get; set; }
|
||||
public string? PermanentAddress { get; set; }
|
||||
public string? CurrentAddress { get; set; }
|
||||
public string PhoneNumber { get; set; }
|
||||
|
||||
|
@ -24,7 +24,7 @@ namespace Marco.Pms.Model.Mapper
|
||||
JobRole = (model.JobRole != null ? model.JobRole.Name : null),
|
||||
JobRoleId = model.JobRoleId,
|
||||
PanNumber = model.PanNumber,
|
||||
PeramnentAddress = model.PeramnentAddress,
|
||||
PermanentAddress = model.PeramnentAddress,
|
||||
PhoneNumber = model.PhoneNumber,
|
||||
Photo = model.Photo,
|
||||
IsActive = model.IsActive,
|
||||
|
@ -11,7 +11,7 @@
|
||||
public string Gender { get; set; }
|
||||
public DateTime? BirthDate { get; set; }
|
||||
public DateTime? JoiningDate { get; set; }
|
||||
public string PeramnentAddress { get; set; }
|
||||
public string PermanentAddress { get; set; }
|
||||
public string CurrentAddress { get; set; }
|
||||
public string PhoneNumber { get; set; }
|
||||
|
||||
|
@ -294,7 +294,7 @@ namespace MarcoBMS.Services.Controllers
|
||||
Gender = model.Gender,
|
||||
MiddleName = model.MiddleName,
|
||||
PanNumber = model.PanNumber,
|
||||
PeramnentAddress = model.PeramnentAddress,
|
||||
PeramnentAddress = model.PermanentAddress,
|
||||
PhoneNumber = model.PhoneNumber,
|
||||
Photo = null, // GetFileDetails(model.Photo).Result.FileData,
|
||||
JobRoleId = Convert.ToInt32(model.JobRoleId),
|
||||
@ -321,7 +321,7 @@ namespace MarcoBMS.Services.Controllers
|
||||
existingEmployee.Gender = model.Gender;
|
||||
existingEmployee.MiddleName = model.MiddleName;
|
||||
existingEmployee.PanNumber = model.PanNumber;
|
||||
existingEmployee.PeramnentAddress = model.PeramnentAddress;
|
||||
existingEmployee.PeramnentAddress = model.PermanentAddress;
|
||||
existingEmployee.PhoneNumber = model.PhoneNumber;
|
||||
existingEmployee.Photo = null; // GetFileDetails(model.Photo).Result.FileData,
|
||||
existingEmployee.JobRoleId = Convert.ToInt32(model.JobRoleId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user