Fixed the typo of PermanentAddress

This commit is contained in:
ashutosh.nehete 2025-04-09 13:09:50 +05:30
parent db879495cb
commit 5d4b1ad282
5 changed files with 6 additions and 6 deletions

View File

@ -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; }

View File

@ -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; }

View File

@ -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,

View File

@ -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; }

View File

@ -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);