Server naming fixes and cleanup
Server is now completely cleaned up and without warnings
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Repository
|
||||
@ -38,9 +38,9 @@ namespace Oqtane.Repository
|
||||
return _db.User.Find(userId);
|
||||
}
|
||||
|
||||
public User GetUser(string Username)
|
||||
public User GetUser(string username)
|
||||
{
|
||||
return _db.User.Where(item => item.Username == Username).FirstOrDefault();
|
||||
return _db.User.Where(item => item.Username == username).FirstOrDefault();
|
||||
}
|
||||
|
||||
public void DeleteUser(int userId)
|
||||
|
Reference in New Issue
Block a user