Skip to content

Commit 94eacd6

Browse files
committed
updated
1 parent 303c00d commit 94eacd6

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

HRManagementSystem.Business/Services/AppUserService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public async Task<IResponse<List<AppRoleListDto>>> GetRolesByUserIdAsync(int use
7575
var roles = await _unitOfWork.GetRepository<AppRole>().GetAllAsync(x => x.AppUserRoles.Any(x => x.AppUserId == userId));
7676
if (roles == null)
7777
{
78-
return new Response<List<AppRoleListDto>>(ResponseType.NotFound, "İlgili rol bulunamadı!");
78+
return new Response<List<AppRoleListDto>>(ResponseType.NotFound, "Related role not found!");
7979
}
8080

8181
var dto = _mapper.Map<List<AppRoleListDto>>(roles);

HRManagementSystem.Business/Services/GenericService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public async Task<IResponse<IDto>> GetByIdAsync<IDto>(int id)
6161
var data = await _unitOfWork.GetRepository<T>().GetByFilterAsync(x => x.Id == id);
6262
if (data == null)
6363
{
64-
return new Response<IDto>(ResponseType.NotFound, $"{id}'ye sahip data bulunamadı!");
64+
return new Response<IDto>(ResponseType.NotFound, $"{id} has data not found!");
6565
}
6666
var dto = _mapper.Map<IDto>(data);
6767
return new Response<IDto>(ResponseType.Success, dto);
@@ -72,7 +72,7 @@ public async Task<IResponse> RemoveAsync(int id)
7272
var data = await _unitOfWork.GetRepository<T>().FindAsync(id);
7373
if (data == null)
7474
{
75-
return new Response(ResponseType.NotFound, $"{id} idsine sahip data bulunamadı!");
75+
return new Response(ResponseType.NotFound, $"{id} has data not found!");
7676
}
7777
_unitOfWork.GetRepository<T>().Remove(data);
7878
await _unitOfWork.SaveChangesAsync();
@@ -87,7 +87,7 @@ public async Task<IResponse<UpdateDto>> UpdateAsync(UpdateDto dto)
8787
var unchangedData = await _unitOfWork.GetRepository<T>().FindAsync(dto.Id);
8888
if (unchangedData == null)
8989
{
90-
return new Response<UpdateDto>(ResponseType.NotFound, $"{dto.Id} idsine sahip data bulunamadı!");
90+
return new Response<UpdateDto>(ResponseType.NotFound, $"{dto.Id} has data not found!");
9191
}
9292
var entity = _mapper.Map<T>(dto);
9393
_unitOfWork.GetRepository<T>().Update(entity, unchangedData);

HRManagementSystem.UI/Views/Advertisement/List.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<td>@advertisementAppUser.AppUser.Gender.Definition</td>
3636
<td>@advertisementAppUser.AdvertisementAppUserStatus.Definition</td>
3737
<td>@advertisementAppUser.MilitaryStatus.Definition</td>
38-
<td>@(advertisementAppUser.EndDate == null ? "Muaf yada yapmış" : advertisementAppUser.EndDate?.ToString("dddd, dd MMMM yyyy"))</td>
38+
<td>@(advertisementAppUser.EndDate == null ? "Done or exempt" : advertisementAppUser.EndDate?.ToString("dddd, dd MMMM yyyy"))</td>
3939
<td>@advertisementAppUser.WorkExperince</td>
4040
<td>
4141
<div>

HRManagementSystem.UI/Views/Shared/_Layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393

9494
<li>
9595
<a asp-action="List" asp-controller="Application" aria-expanded="false">
96-
<i class="fa-brands fa-space-awesome"></i><span class="nav-text">Human Resources</span>
96+
<i class="fa-brands fa-space-awesome"></i><span class="nav-text">Advertisements</span>
9797
</a>
9898
</li>
9999
}
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)