Browse Source

Some changes

Tigran 4 years ago
parent
commit
11abb13b52

+ 0 - 3
MafiaTelegramBot/DataBase/Entity/StatisticsEntity.cs

@@ -1,9 +1,6 @@
 using System;
 using System.ComponentModel.DataAnnotations;
 using System.ComponentModel.DataAnnotations.Schema;
-using System.Threading.Tasks;
-using MafiaTelegramBot.DataBase.EntityDao;
-using MafiaTelegramBot.Resources;
 
 namespace MafiaTelegramBot.DataBase.Entity
 {

+ 0 - 3
MafiaTelegramBot/DataBase/Entity/UserEntity.cs

@@ -1,8 +1,5 @@
 using System.ComponentModel.DataAnnotations;
 using System.ComponentModel.DataAnnotations.Schema;
-using System.Threading.Tasks;
-using MafiaTelegramBot.DataBase.EntityDao;
-using Telegram.Bot.Requests;
 
 namespace MafiaTelegramBot.DataBase.Entity
 {

+ 1 - 1
MafiaTelegramBot/DataBase/EntityDao/UserDao.cs

@@ -73,7 +73,7 @@ namespace MafiaTelegramBot.DataBase.EntityDao
             }
             catch (Exception e)
             {
-                LogOutWarning(e.Message);
+                LogOutWarning(e.ToString());
             }
         }