Resolve all warnings
This commit is contained in:
@@ -81,7 +81,7 @@ namespace GerbilManagerWebAPI.Controllers
|
||||
Strength = litterDto.Strength,
|
||||
Father = this.unitOfWork.GerbilRepository.GetByID(litterDto.Father ?? Guid.Empty),
|
||||
Mother = this.unitOfWork.GerbilRepository.GetByID(litterDto.Mother ?? Guid.Empty),
|
||||
Name = litterDto.Name
|
||||
Name = litterDto?.Name!
|
||||
};
|
||||
|
||||
unitOfWork.LitterRepository.Update(updatedLitter);
|
||||
|
||||
Reference in New Issue
Block a user