public async Task <bool> CreateLog(string type, string description) { var logToCreate = await _logFactory.CreateLogToCreate(type, description); await _context.SaveAsync(logToCreate); return(true); }