code guidelines
This commit is contained in:
parent
58fb8cd530
commit
492427f4b8
82 changed files with 470 additions and 375 deletions
|
|
@ -15,7 +15,7 @@ namespace Yavsc.Controllers
|
|||
[Route("api/ChatRoomAccessApi")]
|
||||
public class ChatRoomAccessApiController : Controller
|
||||
{
|
||||
private ApplicationDbContext _context;
|
||||
private readonly ApplicationDbContext _context;
|
||||
|
||||
public ChatRoomAccessApiController(ApplicationDbContext context)
|
||||
{
|
||||
|
|
@ -183,4 +183,4 @@ namespace Yavsc.Controllers
|
|||
return _context.ChatRoomAccess.Count(e => e.ChannelName == id) > 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue