change namme and project
This commit is contained in:
@@ -35,7 +35,7 @@ namespace FamilyTreeAPI.Repository
|
||||
string error = "";
|
||||
try
|
||||
{
|
||||
Lookup model = null!;
|
||||
FamilyTreeAPI.Models.Lookup model = null!;
|
||||
bool ok = !checkDescription(desc, lookup.Type, lookup.Id);
|
||||
if (ok)
|
||||
{
|
||||
@@ -52,7 +52,7 @@ namespace FamilyTreeAPI.Repository
|
||||
}
|
||||
else
|
||||
{
|
||||
Lookup? model1 = await _context.Lookups.FindAsync(lookup.Id);
|
||||
FamilyTreeAPI.Models.Lookup? model1 = await _context.Lookups.FindAsync(lookup.Id);
|
||||
if (model1 != null)
|
||||
{
|
||||
model1.Description = desc;
|
||||
|
||||
Reference in New Issue
Block a user