/// <summary> /// Prihlaseni do systemu /// </summary> /// <param name="nick"></param> /// <param name="password"></param> /// <returns></returns> public static bool User_Login(int id_usr, string password) { try { using (MessagingServiceClient api = new MessagingServiceClient()) { if (api.User_Validate(id_usr, password)) { return api.User_Login(id_usr, password); } else { return false; } } } catch (Exception) { return false; } }