public static async Task<Operator> Authenticate(string email, string password) { var commu = new Communicator(); if (await commu.Authenticate(email, password)) { // succeeded return new Operator(commu); } else { return null; } }
private Operator(Communicator commu) { scm = commu; }